How to exclude files from code coverage using sbt scoverage and scala3

52 views Asked by At

I am trying to exclude the files from code coverage to increase the percentage. Scala2 supports this by using the properties coverageExcludedFiles but scala3 doesn't supports this. Is there any alternative solution to exclude the files.

Tried by adding $coverage-off$ and $coverage-on$ for blocks of code which is not working.

0

There are 0 answers