|
1 | | -# android-junit5 |
| 1 | +# android-junit5 [][travisci] |
2 | 2 |
|
3 | | -[][travisci] |
| 3 | + |
4 | 4 |
|
5 | 5 | A Gradle plugin that allows for the execution of [JUnit 5][junit5gh] tests in Android environments. |
6 | 6 |
|
7 | 7 | ## Why a separate plugin? |
8 | 8 |
|
9 | 9 | The JUnit Platform team provides a Gradle plugin for running JUnit 5 on the JVM. However, |
10 | 10 | that plugin is tailored to the needs of a "purely Java" application, and doesn't work in |
11 | | -the context of the multi-variant world that we live in on Android. Therefore, this plugin was born. |
| 11 | +the context of the multi-variant world that we live in on Android. As a result, `android-junit5` was born. |
12 | 12 |
|
13 | | -It configures a `junitPlatformTest` task for each registered build variant of a project. |
| 13 | +This plugin configures a `junitPlatformTest` task for each registered build variant of a project. |
14 | 14 | Furthermore, it automatically attaches both the Jupiter & Vintage Engines |
15 | 15 | during the execution phase of your tests as well, so there's very little configuration |
16 | 16 | necessary to get your project up-and-running on the JUnit Platform. |
@@ -61,9 +61,9 @@ dependencies { |
61 | 61 |
|
62 | 62 | ## Configuration |
63 | 63 |
|
64 | | -The plugin applies a configuration closure to your module's `android.testOptions`. |
| 64 | +The plugin extends your module's `android.testOptions` with more options, wrapped in a container called `junitPlatform`. |
65 | 65 | Inside it, you can use [all properties available through the default JUnit 5 Gradle plugin][junit5config]. |
66 | | -However, there are a few more parameters that allow for more customization of the JUnit Platform |
| 66 | +Additionally, there are a few more parameters that allow for more customization of the JUnit Platform |
67 | 67 | in your Android project. These are detailed below, alongside their default values: |
68 | 68 |
|
69 | 69 | ```groovy |
|
0 commit comments