Injection of fields like branchHits
can break certain packages (e.g. Velocity)
#301
Labels
branchHits
can break certain packages (e.g. Velocity)
#301
Describe the bug
We use Velocity in our project (
org.apache.velocity:velocity-engine-core:2.3
), and enabling Kover with the default settings caused tests to fail with an exception. This same issue was reported with the IntelliJ tool here.Errors
The specific stack trace in this instance was:
Expected behavior
Ideally, enabling test coverage should have no impact on test results. However, obviously injecting these fields is fairly fundamental to what Kover is doing, so perhaps documenting it somewhere would be a good start? You could also consider maintaining a list of default files to exclude if there are commonly used dependencies with these sorts of issues. In my case, I was able to work around the problem with this config:
Environment
The text was updated successfully, but these errors were encountered: