sbt-jacoco icon indicating copy to clipboard operation
sbt-jacoco copied to clipboard

Test resources are not found

Open dmuchawiec opened this issue 11 years ago • 1 comments

In my java (with play 2.2.0) project I tried to jacoco4sbt 2.1.2. There are tests which needs some resources obtained in such way:

 SomeTest.class.getResource("").getPath();

It works properly with play test, but fails with play jacoco:coverage. In the second case path points to target/scala-2.10/jacoco/classes instead of target/scala-2.10/test-classes

dmuchawiec avatar Nov 22 '13 13:11 dmuchawiec

Likely related to: https://github.com/sbt/jacoco4sbt/issues/3

muymoo avatar Dec 06 '13 21:12 muymoo