Scope
A scope inside which tests receive a fixture-provided value.
The fixture-provided value normally lives inside the scopingAction's fixtureScopedAction. For test-level fixtures, envelopeValue provides this value early for examination before the test is executed. For details and motivation, see TestEnvelopeContext.
Properties
Functions
Link copied to clipboard
fun test(name: String, displayName: String = name, testConfig: TestConfig = TestConfig, fixtureScopedAction: FixtureScopedAction)
Registers a Test as a child of the scope's test suite.
Link copied to clipboard
fun testSuite(name: String, displayName: String = name, testConfig: TestConfig = TestConfig, content: TestFixture.Scope<FixtureScopedAction>.() -> Unit)
Registers a TestSuite as a child of the scope's test suite.