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

Seems scct doesn't pick up test in Play framework v2 using sbt 0.112.0 #44

Open
zhiyuchen opened this issue Mar 8, 2013 · 1 comment

Comments

@zhiyuchen
Copy link

I'm trying to use scct to generate code coverage report for an application using Play framework v2 based on sbt 0.12.0. My tests are written in Java using a sbt testng plugin, and when I run "sbt test", the tests will be executed successfully.

But when I run "sbt scct:test", it compiles successfully, but doesn't generate any code coverage report with a message saying no tests found. Test classes are created under {app_dir}/target/scala-2.9.2/scct-test-classes/

Does scct support play v2 and tests written in java? If so, could you please point me to how to troubleshooting this issue? Thanks!

@0xRoch
Copy link

0xRoch commented Aug 29, 2013

try to add sequential at the top of your specs

class MySpec extends Specification {
sequential

"MyApp" should {
//...//
}

}

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