Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No coverage report generated #18

Open
nestorpersist opened this issue Oct 3, 2013 · 2 comments
Open

No coverage report generated #18

nestorpersist opened this issue Oct 3, 2013 · 2 comments

Comments

@nestorpersist
Copy link

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
Copy link
Member

0xRoch commented Oct 28, 2013

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

@nestorpersist
Copy link
Author

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".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants