sqality / scct

Scala Code Coverage Tool
Apache License 2.0
67 stars 7 forks source link

No coverage report generated #18

Open nestorpersist opened 10 years ago

nestorpersist commented 10 years ago

I am using Scala 2.10.2 and SBT 0.13.0 via sbt extras.

When I run scct:test the tests run and then sbt pauses for quite a while before a new prompt is displayed. But there is no coverage report in target.

0xRoch commented 10 years ago

Hi @nestorpersist have a look at the sample project here : https://github.com/SCCT/scctSample Let me know if it helps

nestorpersist commented 10 years ago

The sample project is a play project so it does not help very much. I am just trying to do a simple scala project with a couple of unit tests using ScalaTest.

An additional issue when my test includes the following.

val is = java.lang.ClassLoader.getSystemResourceAsStream("profiles/" + name + ".json") Source.fromInputStream(is).getLines().mkString("\n")

It works when I run "test" but fails with a null ptr exception inside getLines when I run "scct:test".