-
Notifications
You must be signed in to change notification settings - Fork 67
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
Execute code coverage for single test / test suite #62
Comments
Yes I am having the same issue, I do not want jacoco to run the tests only report on coverage. |
Did anyone have any luck on how to achieve this so far? |
+1 |
Since version 3.x sbt-jacoco seems to instrument code not only for task
That said, a |
Not working. I have done ;clean;testOnly **.MyFavouriteDaoTest;jacocoReport The report shows 0% coverage. I have noticed After completion of testOnly
When i run all test cases the results are proper. Details : |
I've rechecked my project settings and noticed that I missed a detail:
With |
Issue is resolved after I added |
fork in Test :=true would run all the tests in sequence. Is there any option to keep the parallel execution true. |
Same as @gmkumar2005 here |
I have a Test Suite where I define all the tests I want to run.
This so I can start up a webserver on "@BeforeClass" and shut down at "@afterclass" so the server is running throughout execution of the whole test suite. That makes the test execution much quicker.
This is how I execute it:
But if I run:
It implicity executes
I tried:
But no luck, it still executes the "sbt test". Anyone who can point me in right direction?
In advance thanks
The text was updated successfully, but these errors were encountered: