Open
Description
Hi All,
right now scala3 does not support to exclude any files and/or packages when instrumenting the code.
The scala2 implementation supports this.
To make migrating to scala3 painless/possible, we need to find a way to support this in scala3 (somehow).
I see two options ...
- Add a/the ability to exclude files and packages to the scala3 implementation. That would be a/the preferred approach, but might take a while.
- Add a
coverageExlude
task tosbt-scoverage
that will read the coverage from the data-dir and (re)writes it again without the excluded files and packages. That is obviously a hack. And should only be considered a workaround until the exclude functionality becomes abvailable in dotty. But this can be implemented fast and easy.