Generating Fixture Scope
Scope for managing mutable test fixtures that are regenerated for each test. Provides a structured way to define tests that require fresh fixture instances generated before each test.
Parameters
T
The type of fixture object being managed
Properties
Functions
Link copied to clipboard
fun test(name: String, displayName: String = name, maxLength: Int = TestBalloonAddons.defaultTestNameMaxLength, testConfig: <Error class: unknown class> = TestConfig, content: suspend <Error class: unknown class>.(T) -> Unit)
Registers a test that uses a fresh fixture instance as a child of the current testSuite.