We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ffaa249 commit c9e5827Copy full SHA for c9e5827
1 file changed
build.gradle
@@ -82,6 +82,18 @@ subprojects {
82
83
compileJava.mustRunAfter verifyGoogleJavaFormat
84
85
+ test {
86
+ useJUnitPlatform()
87
+
88
+ afterSuite { desc, result ->
89
+ if (!desc.parent) {
90
+ if (result.testCount == 0) {
91
+ throw new IllegalStateException("No tests were found. Failing the build")
92
+ }
93
94
95
96
97
jacocoTestReport {
98
reports {
99
xml.enabled = true
0 commit comments