JUnitEngineSpec

Added in 9.0.0-alpha07

@Incubating
interface JUnitEngineSpec


Spec for running a JUnit engine against a test suite.

Summary

Public functions

Unit
@Incubating
addInputProperty(propertyName: String, propertyValue: Provider<String>)

Adds a new key value pair property to the list of inputs of this test engine, the value will only be resolved at execution time.

Unit
@Incubating
addInputProperty(propertyName: String, propertyValue: String)

Adds a new key value pair property to the list of inputs for this test engine.

Public properties

DependencyCollector

Returns a DependencyCollector that collects the set of runtime-only dependencies to find and load configured junit engines.

MutableSet<String>
MutableList<AgpTestSuiteInputParameters>

Identifies the inputs required by the junit engine running the test suite.

Public functions

addInputProperty

Added in 9.0.0-alpha07
@Incubating
fun addInputProperty(propertyName: String, propertyValue: Provider<String>): Unit

Adds a new key value pair property to the list of inputs of this test engine, the value will only be resolved at execution time.

addInputProperty

Added in 9.0.0-alpha07
@Incubating
fun addInputProperty(propertyName: String, propertyValue: String): Unit

Adds a new key value pair property to the list of inputs for this test engine.

Public properties

enginesDependencies

Added in 9.0.0-alpha07
val enginesDependenciesDependencyCollector

Returns a DependencyCollector that collects the set of runtime-only dependencies to find and load configured junit engines.

includeEngines

Added in 9.0.0-alpha07
val includeEnginesMutableSet<String>

inputs

Added in 9.0.0-alpha07
val inputsMutableList<AgpTestSuiteInputParameters>

Identifies the inputs required by the junit engine running the test suite.