ThrownStandardResults

trait ThrownStandardResults extends StandardResults with ExpectationsCreation
trait StandardResults
class Object
trait Matchable
class Any

Value members

Concrete methods

override def anError: Error
Definition Classes
StandardResults
override def failure: Failure
Definition Classes
StandardResults
override def failure(m: String): Failure
Definition Classes
StandardResults
protected def failure(f: Failure): Failure
override def pending: Pending
Definition Classes
StandardResults
override def pending(m: String): Pending
Definition Classes
StandardResults
protected def pending(p: Pending): Pending
override def skipped: Skipped
Definition Classes
StandardResults
override def skipped(m: String): Skipped
Definition Classes
StandardResults
protected def skipped(s: Skipped): Skipped
override def success(m: String): Success
Definition Classes
StandardResults
override def todo: Pending
Definition Classes
StandardResults

Inherited methods

def anError(message: String): Error
Inherited from:
StandardResults
protected def checkResultFailure(r: => Result): Result

this method can be overridden to throw exceptions when checking a result

this method can be overridden to throw exceptions when checking a result

Inherited from:
ResultChecks
def createExpectable[T](t: => T, alias: String => String): Expectable[T]
Returns:

an Expectable with a description function

Inherited from:
ExpectationsCreation
def createExpectable[T](t: => T, alias: => String): Expectable[T]
Returns:

an Expectable with a description

Inherited from:
ExpectationsCreation
def createExpectable[T](t: => T): Expectable[T]
Returns:

an Expectable

Inherited from:
ExpectationsCreation
def createExpectable[T](t: => T, alias: Option[String => String]): Expectable[T]
Returns:

an Expectable with a description function

Inherited from:
ExpectationsCreation
def createExpectableWithShowAs[T](t: => T, showAs: => String): Expectable[T]
Returns:

an Expectable with a function to show the element T

Inherited from:
ExpectationsCreation
def done: Success
Inherited from:
StandardResults
protected def mapResult(r: Result): Result

this method can be overridden to intercept a Result and modify it. It is used for example to set a stacktrace providing the location of a failure

this method can be overridden to intercept a Result and modify it. It is used for example to set a stacktrace providing the location of a failure

Inherited from:
ResultChecks
def pending[R](r: => R)(using evidence$1: AsResult[R]): Pending
Inherited from:
StandardResults
protected def sandboxResult(r: => Result): Result
Returns:

the result without any side-effects

Inherited from:
ResultChecks
protected def setStacktrace(m: Result): Result

this method can be overridden to avoid filling-in a stacktrace indicating the location of the result

this method can be overridden to avoid filling-in a stacktrace indicating the location of the result

Inherited from:
MatchResultStackTrace
def skipped[R](r: => R)(using evidence$2: AsResult[R]): Skipped
Inherited from:
StandardResults
def theBlock(t: => Nothing): Expectable[Nothing]
Inherited from:
ExpectationsCreation
def theValue[T](t: => T): Expectable[T]
Inherited from:
ExpectationsCreation
def wontdo: Success
Inherited from:
StandardResults

Concrete fields

lazy override val success: Success