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
+5
Original file line number
Diff line number
Diff line change
@@ -37,11 +37,16 @@ or if you have integration tests as well
37
37
sbt clean coverage it:test
38
38
```
39
39
40
+
This instruments standard build output so remember to clean again with coverage disabled before publishing your build to avoid including instrumentation.
41
+
40
42
To enable coverage directly in your build, use:
41
43
```scala
42
44
coverageEnabled :=true
43
45
```
44
46
47
+
Note that this will result in code being always instrumented which is unlikely what you want.
0 commit comments