Skip to content

Commit b6c17cc

Browse files
committed
add: configure checkScct minimumRateValue documentation
1 parent 75c531d commit b6c17cc

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,18 @@ This creates an additional task testCoverage which will run tests against instru
3333
- [x] running JUnit tests against instrumented scala code
3434
- [x] failing the build on lack of coverage
3535

36+
Then launch command :
37+
`gradle testScct` or `gradle checkScct`
38+
39+
40+
CheckScct
41+
---------
42+
43+
By default, when you launch `gradle checkScct` build fail if only 75% of project is covered by tests.
44+
45+
To configure it as you want, add this configuration :
46+
```
47+
checkScct {
48+
minimumLineRate = 0.5
49+
}
50+
```

0 commit comments

Comments
 (0)