AsResultLowImplicits

org.specs2.execute.AsResultLowImplicits

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object AsResult.type

Members list

Type members

Classlikes

object given_AsResult_Unit extends AsResult[Unit]

typeclass instance for types which are convertible to Result

typeclass instance for types which are convertible to Result

Attributes

Supertypes
trait AsResult[Unit]
class Object
trait Matchable
class Any
Self type

Value members

Concrete methods

def apply[R](r: => R)(using evidence$2: AsResult[R]): Result

nicer syntax to use the AsResult syntax: AsResult(r)

nicer syntax to use the AsResult syntax: AsResult(r)

Attributes

def effectively[R](r: => R)(using evidence$3: AsResult[R]): Result

Attributes

Returns

a Result but throw exceptions if it is not a success

def safely[R](r: => R)(using evidence$4: AsResult[R]): Result

Attributes

Returns

a Result always, even when there are specs2 exceptions (when using ThrownExpectations)

Givens

Givens

typeclass instance for types which are convertible to Result

typeclass instance for types which are convertible to Result

Attributes