TestFactoryBuilder

Builder to create a hierarchy of TestNodes.

Since

1.3.0

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

Returns the so far defined nodes.

Functions

Link copied to clipboard
fun describe(displayName: String, setup: TestFactoryBuilder<TestExecutableT>.() -> Unit)

Creates a BranchTestNode with the given displayName and TestNodes the given setup creates.

Link copied to clipboard
fun it(displayName: String, executable: TestExecutableT.() -> Unit)

Creates a LeafTestNode with the given displayName and executable.