Package com.tomtom.ivi.platform.gradle.api.tools.testsharding
This package defines the Gradle plugin to allow parallel test execution using test shards.
When the plugin is applied, extension method Project.shouldRunOnThisShard
can be used for the projects containing tests. Use this method as a filter function for test suite definition. It allows to split all test modules across several shards and then run them in parallel on CI.
Types
Gradle plugin to allow parallel test execution using test shards. When applied, extension method Project.shouldRunOnThisIviTestShard
can be used for the projects containing tests. Use this method as a filter function for navtest suite definition, It allows to split all test modules across several shards and then run them in parallel on CI.
Properties
IVI test shard count, passed as a parameter. Default value is 1. This default value, in combination with Project.iviTestShardIndex, makes sure all tests run on 1 shard in case parameters are not set by the caller.
IVI test shard index, passed as a parameter. Default value is 1. This default value, in combination with Project.iviTestShardCount, makes sure all tests run on 1 shard in case parameters are not set by the caller.
Indicates if project should run on IVI test shard with index Project.iviTestShardIndex.