SbtEvents

org.specs2.reporter.SbtEvents
trait SbtEvents

Sbt events for a given TaskDef and event handler

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Type members

Classlikes

case class SpecSuiteEvent(_status: Status, _throwable: OptionalThrowable) extends Event

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Event
class Object
trait Matchable
class Any
Show all
case class SpecTestEvent(name: String, _status: Status, durationInMillis: Option[Long], _throwable: OptionalThrowable) extends Event

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Event
class Object
trait Matchable
class Any
Show all

Value members

Abstract methods

def handler: EventHandler

sbt event handler to notify of successes/failures

sbt event handler to notify of successes/failures

Attributes

def taskDef: TaskDef

sbt task definition for this run

sbt task definition for this run

Attributes

Concrete methods

def canceled(name: String): Unit
def error(name: String, durationInMillis: Long, exception: Throwable): Unit
def failure(name: String, durationInMillis: Long, exception: Throwable): Unit
def ignored(name: String, durationInMillis: Long): Unit
def pending(name: String, durationInMillis: Long): Unit
def skipped(name: String, durationInMillis: Long): Unit
def succeeded(name: String, durationInMillis: Long): Unit
def suiteError(): Unit
def suiteError(exception: Throwable): Unit