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
Improved configuration options for test execution and the coverage report (#15)
- Deprecated `testTypes` and `skipTestExecution` in the plugin configuration.
- Added `executeTests`, `executeAndroidTests` and `executeUnitTests` to the plugin configuration options, these provide better control compared to the old and now deprecated `skipTestExecution`. These new options are useful when running tests remotely.
- Added `includeAndroidTestResults` and `includeUnitTestResults` plugin configuration options. These options control whether the final report takes into the account the results of certain tests. If disabled these options will also implicitly disable executing the tests (and thus override `execute[Android|Unit]Tests`).
- Rewrote the tests that are executed by the integration test, also gave the tests better names.
- Update Jacoco version used by the integration test to 8.5.
@@ -18,54 +17,55 @@ class RootCoveragePlugin : Plugin<Project> {
18
17
19
18
overridefunapply(project:Project) {
20
19
if (project.rootProject !== project) {
21
-
throwGradleException("The RootCoveragePlugin can not be applied to project '${project.name}' because it is not the root project. Build file: ${project.buildFile}")
20
+
throwGradleException("The RootCoveragePlugin cannot be applied to project '${project.name}' because it is not the root project. Build file: ${project.buildFile}")
if (project.plugins.withType(JacocoPlugin::class.java).isEmpty()) {
26
-
project.logger.warn("Warning: Jacoco plugin was not found for project: '${project.name}', it has been applied automatically but you should do this manually. Build file: ${project.buildFile}")
25
+
project.logger.warn("Warning: Jacoco plugin was not found for project: '${project.name}', it has been applied automatically, but you should do this manually. Build file: ${project.buildFile}")
0 commit comments