Skip to content

Commit e6dfe0c

Browse files
committed
Add blurb to README.md about the coverageOff task.
1 parent ac51ce4 commit e6dfe0c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ $ sbt coverageReport
3434

3535
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.
3636

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+
3741
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).
3842

3943
## Notes on upgrading to version 1.0.0

0 commit comments

Comments
 (0)