diff options
author | 2022-02-04 20:18:20 +0100 | |
---|---|---|
committer | 2022-02-04 20:18:20 +0100 | |
commit | 42db1e8b4dcff3667c5f14e8dd464309c3c2f23e (patch) | |
tree | f5f5efe86fb352980cf144cceb68d1a1101b274f /gradle/junit.gradle | |
parent | chore(web): fix Sonar issue (diff) | |
parent | chore(frontend): bump frontend dependencies (diff) | |
download | refinery-42db1e8b4dcff3667c5f14e8dd464309c3c2f23e.tar.gz refinery-42db1e8b4dcff3667c5f14e8dd464309c3c2f23e.tar.zst refinery-42db1e8b4dcff3667c5f14e8dd464309c3c2f23e.zip |
Merge pull request #18 from kris7t/releng-docs
Restructure project
Diffstat (limited to 'gradle/junit.gradle')
-rw-r--r-- | gradle/junit.gradle | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/gradle/junit.gradle b/gradle/junit.gradle deleted file mode 100644 index 44a463c7..00000000 --- a/gradle/junit.gradle +++ /dev/null | |||
@@ -1,30 +0,0 @@ | |||
1 | apply plugin: 'jacoco' | ||
2 | |||
3 | dependencies { | ||
4 | testImplementation "org.junit.jupiter:junit-jupiter-api:${junitVersion}" | ||
5 | testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:${junitVersion}" | ||
6 | testImplementation "org.junit.jupiter:junit-jupiter-params:${junitVersion}" | ||
7 | testImplementation "org.hamcrest:hamcrest:${hamcrestVersion}" | ||
8 | testImplementation "org.mockito:mockito-core:${mockitoVersion}" | ||
9 | testImplementation "org.mockito:mockito-junit-jupiter:${mockitoVersion}" | ||
10 | } | ||
11 | |||
12 | def jacocoTestReport = tasks.named('jacocoTestReport') | ||
13 | jacocoTestReport.configure { | ||
14 | dependsOn test | ||
15 | reports { | ||
16 | xml.required = true | ||
17 | } | ||
18 | } | ||
19 | |||
20 | tasks.named('test') { | ||
21 | useJUnitPlatform { | ||
22 | excludeTags 'slow' | ||
23 | } | ||
24 | finalizedBy jacocoTestReport | ||
25 | } | ||
26 | |||
27 | tasks.register('slowTest', Test) { | ||
28 | useJUnitPlatform() | ||
29 | finalizedBy jacocoTestReport | ||
30 | } | ||