LoginSignup
1
0

More than 5 years have passed since last update.

jacoco4sbtでカバレッジの閾値を設定

Posted at

build.sbtに下記のように追加。

jacoco.thresholds in jacoco.Config := Thresholds(
  instruction = 50,
  method = 50,
  branch = 50,
  complexity = 50,
  line = 50,
  clazz = 50)

sbt力がないとソースから設定の仕方を見つけるのは厳しい...

参考サイト

how-to-fail-build-on-low-test-coverage-with-activator-sbt

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0