TestSuiteScope
A TestSuite-based registration scope for tests, test suites and fixtures.
The most direct TestSuiteScope is the TestSuite itself. In addition, there are scopes for fixtures and custom scopes. These are not test suites in their own right, but delegate to one.
Inheritors
Properties
Functions
Link copied to clipboard
open fun TestSuiteScope.test(name: String, displayName: String = name, testConfig: TestConfig = TestConfig, action: suspend Test.ExecutionScope.() -> Unit)
Registers a Test as a child of the testSuiteInScope.
Link copied to clipboard
Registers a fixture, a state holder for a lazily initialized Value to be used in tests.
Link copied to clipboard
open fun TestSuiteScope.testSuite(name: String, displayName: String = name, testConfig: TestConfig = TestConfig, content: TestSuite.() -> Unit)
Registers a TestSuite as a child of the testSuiteInScope.