You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -34,6 +34,10 @@ $ sbt coverageReport
34
34
35
35
to generate the reports. You will find the coverage reports inside `target/scoverage-report`. There are HTML and XML reports. The XML is useful if you need to programatically use the results, or if you're writing a tool.
36
36
37
+
If you're running the coverage reports from within an sbt console session (as
38
+
opposed to one command per sbt launch), then the `coverage` task is sticky. To
39
+
turn it back off when you're done running reports, use the `coverageOff` task.
40
+
37
41
If you want to see a project that is already setup to use scoverage in both sbt and maven, then clone [the scoverage samples project](https://github.com/scoverage/scoverage-samples).
0 commit comments