Package-level declarations

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

Link copied to clipboard
class TestShardingPlugin : Plugin<Project>

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.

Inherited properties

Link copied to clipboard
val Project.iviTestShardCount: Int

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.

Link copied to clipboard
val Project.iviTestShardIndex: Int

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.

Link copied to clipboard

Indicates if project should run on IVI test shard with index Project.iviTestShardIndex.