TestRunner

final case class TestRunner[R, E](executor: TestExecutor[R, E], bootstrap: ULayer[TestOutput & ExecutionEventSink])

A TestRunner[R, E] encapsulates all the logic necessary to run specs that require an environment R and may fail with an error E. Test runners require a test executor, a runtime configuration, and a reporter.

Companion:
object
trait Product
trait Equals
class Object
trait Matchable
class Any

Type members

Classlikes

trait UnsafeAPI

Value members

Concrete methods

def run(fullyQualifiedName: String, spec: Spec[R, E], defExec: ExecutionStrategy)(implicit trace: Trace): UIO[Summary]

Runs the spec, producing the execution results.

Runs the spec, producing the execution results.

Inherited methods

def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product

Concrete fields

val runtime: Runtime[Any]