TestkitTest

open class TestkitTest @Inject constructor(description: Property<String>) : Serializable, Convertable<Test> (source)

Represents a test configuration, mirroring the Test of the core module.

Constructors

Link copied to clipboard
@Inject
constructor(description: Property<String>)

Properties

Link copied to clipboard
var id: String?

Represents the identifier of the test.

Link copied to clipboard

Represents the requiring test of this test.

Functions

Link copied to clipboard
fun configuration(configuration: TestkitConfiguration.() -> Unit)

Sets the configuration of the test.

Link copied to clipboard
open override fun convert(): Test

Converts the object into the other object.

Link copied to clipboard
fun expectation(configuration: TestkitExpectation.() -> Unit)

Sets the expectation of the test.