Skip to content

Commit c590aeb

Browse files
committed
Placeholder for new JUnit version
1 parent a38bcce commit c590aeb

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

gradle/junit-jupiter.gradle

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,31 @@ junitPlatform {
1616
includeClassNamePattern '.*'
1717
}
1818

19+
/* NEW: (REQUIRES CODE REWRITES IN BOOK AND TEST CODE)
20+
-> http://junit.org/junit5/docs/current/user-guide/
21+
22+
ext {
23+
junitJupiterVersion = '5.0.0-M3'
24+
}
25+
26+
dependencies {
27+
testCompile "org.junit.jupiter:junit-jupiter-api:${junitJupiterVersion}"
28+
testRuntime "org.junit.jupiter:junit-jupiter-engine:${junitJupiterVersion}"
29+
}
30+
31+
32+
junitPlatform {
33+
platformVersion '1.0.0-M3'
34+
35+
filters {
36+
packages {
37+
exclude 'understandingcollections.jmh'
38+
}
39+
includeClassNamePattern '.*'
40+
}
41+
}
42+
*/
43+
1944
/* Store test output in $projectName/tests
2045
JUnit 5's junitPlatformTest runs as a "javaExec" rather than a "test",
2146
so we can't hook into the before/after test behavior.

0 commit comments

Comments
 (0)