@@ -13,7 +13,15 @@ open class RootCoveragePluginExtension {
13
13
var includeNoLocationClasses: Boolean = false
14
14
15
15
/* *
16
- * Same as executeTests except that this only disables/enables the instrumented Android tests.
16
+ * When disabled the plugin will skip the execution of all (instrumented) Android tests (by not depending on the Gradle test tasks).
17
+ * If disabled this does not automatically imply that already existing code coverage results will not be included in the final coverage
18
+ * report, instead this is expected to happen as this can be useful when you run the tests manually or remote (Firebase Test Lab).
19
+ *
20
+ * When using this setting in combination with remote test execution make sure you fetch the `build/outputs` folder from the remote (or
21
+ * any other place) and put them into the local build so that this plugin can use them to configure code coverage correctly. Also make
22
+ * sure that when executing remotely coverage is enabled.
23
+ *
24
+ * Same as executeUnitTests except that this only disables/enables the instrumented Android tests.
17
25
*
18
26
* Default: true
19
27
*
@@ -22,7 +30,15 @@ open class RootCoveragePluginExtension {
22
30
var executeAndroidTests: Boolean = true
23
31
24
32
/* *
25
- * Same as executeTests except that this only disables/enables the unit tests.
33
+ * When disabled the plugin will skip the execution of all unit tests (by not depending on the Gradle test tasks). If disabled this does
34
+ * not automatically imply that already existing code coverage results will not be included in the final coverage report, instead this
35
+ * is expected to happen as this can be useful when you run the tests manually or remote (Firebase Test Lab).
36
+ *
37
+ * When using this setting in combination with remote test execution make sure you fetch the `build/outputs` folder from the remote (or
38
+ * any other place) and put them into the local build so that this plugin can use them to configure code coverage correctly. Also make
39
+ * sure that when executing remotely coverage is enabled.
40
+ *
41
+ * Same as executeUnitTests except that this only disables/enables the instrumented Android tests.
26
42
*
27
43
* Default: true
28
44
*
@@ -31,23 +47,15 @@ open class RootCoveragePluginExtension {
31
47
var executeUnitTests: Boolean = true
32
48
33
49
/* *
34
- * When disabled the Android-Root-Coverage-Plugin will skip the execution of all tests (unit and instrumented Android tests). This can
35
- * be useful when you run the tests manually or remote (Firebase Test Lab). When using this setting make sure you fetch the
36
- * `build/outputs` and `build/jacoco/` folders the remote (or any other place) and put them into the local build so that this plugin can
37
- * use them.
38
- *
39
- * Default: true
40
- *
41
- * Note: if false this will override any value in `executeAndroidTests` and `executeUnitTests`.
42
- *
43
50
* @see executeAndroidTests
44
51
* @see executeUnitTests
45
52
*/
53
+ @Deprecated(" Instead use executeAndroidTests and/or executeUnitTests" )
46
54
var executeTests: Boolean = true
47
55
48
56
/* *
49
57
* Whether to include results from instrumented Android tests into the final coverage report. If disabled this also causes the plugin to
50
- * not automatically execute instrumented Android tests (if not already disabled by either `executeTests` or `executeAndroidTests`).
58
+ * not automatically execute instrumented Android tests (if not already disabled by `executeAndroidTests`).
51
59
*
52
60
* Default: true
53
61
*
@@ -57,7 +65,7 @@ open class RootCoveragePluginExtension {
57
65
58
66
/* *
59
67
* Whether to include results from unit tests into the final coverage report. If disabled this also causes the plugin to not
60
- * automatically execute unit tests (if not already disabled by either `executeTests` or `executeUnitTests`).
68
+ * automatically execute unit tests (if not already disabled by `executeUnitTests`).
61
69
*
62
70
* Default: true
63
71
*
0 commit comments