ZTestTask

zio.test.sbt.ZTestTask
See theZTestTask companion object
sealed class ZTestTask(taskDef: TaskDef, testClassLoader: ClassLoader, runnerType: String, sendSummary: SendSummary, testArgs: TestArgs, spec: ZIOSpecAbstract) extends BaseTestTask[Any]

Attributes

Companion
object
Graph
Supertypes
class BaseTestTask[Any]
trait Task
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

override def execute(eventHandler: EventHandler, loggers: Array[Logger]): Array[Task]

Executes this task, possibly returning to the client new tasks to execute.

Executes this task, possibly returning to the client new tasks to execute.

Value parameters

eventHandler

an event handler to which to fire events during the run

loggers

an array of loggers to which to emit log messages during the run

Attributes

Returns

a possibly empty array of new tasks for the client to execute

Definition Classes

Inherited methods

protected def sharedFilledTestLayer(implicit trace: Trace): ZLayer[Any, Nothing, TestEnvironment & ZIOAppArgs & Scope]

Attributes

Inherited from:
BaseTestTask
override def tags(): Array[String]

A possibly zero-length array of string tags associated with this task.

A possibly zero-length array of string tags associated with this task.

A task may be tagged, for example, with a string that indicates it consumes a lot of CPU time. Users can configure the client to only run, say, three such CPU-intensive tasks concurrently.

Attributes

Returns

a possibly zero-length string array of this task's tags

Definition Classes
Inherited from:
BaseTestTask

Inherited fields

val args: TestArgs

Attributes

Inherited from:
BaseTestTask

Attributes

Inherited from:
BaseTestTask
val runtime: Runtime[Any]

Attributes

Inherited from:
BaseTestTask