DefaultMutableRunnableSpec
Syntax for writing test like
object MySpec extends DefaultMutableRunnableSpec {
suite("foo") {
testM("name") {
} @@ ignore
test("name 2")
}
suite("another suite") {
test("name 3")
}
}
Type members
Inherited classlikes
sealed case class TestBuilder(label: String, var toSpec: ZSpec[R & TestEnvironment, Any]) extends SpecBuilder
- Inherited from:
- MutableRunnableSpec
Inherited types
Value members
Inherited methods
A simple main function that can be used to run the spec.
A simple main function that can be used to run the spec.
- Inherited from:
- RunnableSpec
Returns an effect that executes the spec, producing the results of the execution.
Returns an effect that executes the spec, producing the results of the execution.
- Inherited from:
- AbstractRunnableSpec
Builds a suite containing a number of other specs.
Builds a suite containing a number of other specs.
- Inherited from:
- MutableRunnableSpec
Builds a spec with a single pure test.
Builds a spec with a single pure test.
- Inherited from:
- MutableRunnableSpec
final def testM(label: String)(assertion: => ZIO[Has[Any] & TestEnvironment, Failure, TestResult])(implicit loc: SourceLocation): TestBuilder
Builds a spec with a single effectful test.
Builds a spec with a single effectful test.
- Inherited from:
- MutableRunnableSpec