You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// 4. Add the testCompile dependencies on JUnit Jupiter
24
24
testCompile junitJupiter()
25
25
26
-
// 5. If you need parameterized tests:
26
+
// 5. (Optional) If you need "parameterized tests"
27
27
testCompile junitParams()
28
28
}
29
29
```
30
30
31
31
## Usage
32
32
33
-
This plugin configures the `junitPlatform` task for each registered build variant of a project. Starting with version `1.0.0-M4-rev1`, the plugin automatically attaches both the Jupiter & Vintage Engines.
33
+
This plugin configures the `junitPlatform` task for each registered build variant of a project.
34
+
It automatically attaches both the Jupiter & Vintage Engines during the execution phase of your tests.
34
35
35
36
Further instructions on how to write JUnit 5 tests can be found [in their User Guide][junit5ug].
36
37
37
38
## Extras
38
39
39
-
Inside the configuration closure applied by the plugin, you can specify the same properties as you would for a Java-based project with the JUnit Platform Gradle plugin.
40
+
Inside the configuration closure applied by the plugin, you can specify the same properties as you would
41
+
for a Java-based project with the JUnit Platform Gradle plugin.
40
42
However, there are some additional properties that you can apply:
0 commit comments