Tag
Marks the test or an entire suite with a tag.
Some test runners may allow the user to only execute tests with a specific tag, or ignore tasks with a specific tag. A single test may be marked with multiple tags.
Example
Tag an entire suite:
suite("Suite name", Tag("slow") + Tag("frontend")) {
// …
}
Content copied to clipboard
Tag a specific test:
test("Some kind of test", config = Tag("slow") + Tag("frontend")) {
// …
}
Content copied to clipboard
Properties
Link copied to clipboard
The coroutine context configured for this test through the Context configuration.
Link copied to clipboard
The identifier for this test configuration element.
Functions
Link copied to clipboard
operator fun <E : TestConfig.Element> TestConfig.get(key: TestConfig.Key<E, TestConfig.Uniqueness.Multi>): List<E>
Finds the elements identified by key in the current TestConfig.
operator fun <E : TestConfig.Element> TestConfig.get(key: TestConfig.Key<E, TestConfig.Uniqueness.Unique>): E?
Finds the Element identified by key in the current TestConfig.
Link copied to clipboard
Combines two TestConfig instances.