interface ShouldSpecDsl : SpecDsl
Example:
"some test" { "with context" { should("do something") { // test here } } }
or
should("do something") { // test here }
Testbuilder |
class Testbuilder |
invoke |
open operator fun String.invoke(init: suspend ShouldScope.() -> Unit): Unit |
should |
open fun should(name: String, test: suspend TestContext.() -> Unit): Unitopen fun should(name: String): Testbuilder |
ShouldSpec |
abstract class ShouldSpec : DslDrivenSpec, ShouldSpecDsl |
ShouldSpecTestFactoryConfiguration |
class ShouldSpecTestFactoryConfiguration : TestFactoryConfiguration, ShouldSpecDsl |