This trait is for transforming matchers of values to matchers of Futures
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait ExpectationsCreationtrait ResultCheckstrait MatchResultStackTraceclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
object FutureMatchers.typetrait Matchersobject Matchers.typetrait MustMatchersobject MustMatchers.typetrait MustThrownMatchersobject MustThrownMatchers.typetrait ShouldMatchersobject ShouldMatchers.typetrait ShouldThrownMatchersobject ShouldThrownMatchers.typeShow all
Members list
Value members
Concrete methods
Inherited methods
this method can be overridden to throw exceptions when checking a result
this method can be overridden to throw exceptions when checking a result
Attributes
- Inherited from:
- ResultChecks
Attributes
- Returns
-
an Expectable with a description function
- Inherited from:
- ExpectationsCreation
Attributes
- Returns
-
an Expectable with a description
- Inherited from:
- ExpectationsCreation
Attributes
- Returns
-
an Expectable
- Inherited from:
- ExpectationsCreation
Attributes
- Returns
-
an Expectable with a description function
- Inherited from:
- ExpectationsCreation
Attributes
- Returns
-
an Expectable with a function to show the element T
- Inherited from:
- ExpectationsCreation
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
Attributes
- Inherited from:
- ResultChecks
Attributes
- Returns
-
the result without any side-effects
- Inherited from:
- ResultChecks
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
Attributes
- Inherited from:
- MatchResultStackTrace
Attributes
- Inherited from:
- ExpectationsCreation
Attributes
- Inherited from:
- ExpectationsCreation
Extensions
Extensions
add an await
method to any matcher Matcher[T]
so that it can be transformed into a Matcher[Future[T]] making this implicit an extension method does not work out of the box
add an await
method to any matcher Matcher[T]
so that it can be transformed into a Matcher[Future[T]] making this implicit an extension method does not work out of the box
Attributes
add an await
method to any matcher Matcher[T]
so that it can be transformed into a Matcher[Future[T]] making this implicit an extension method does not work out of the box
add an await
method to any matcher Matcher[T]
so that it can be transformed into a Matcher[Future[T]] making this implicit an extension method does not work out of the box
Attributes
add an await
method to any matcher Matcher[T]
so that it can be transformed into a Matcher[Future[T]] making this implicit an extension method does not work out of the box
add an await
method to any matcher Matcher[T]
so that it can be transformed into a Matcher[Future[T]] making this implicit an extension method does not work out of the box
Attributes
add an await
method to any matcher Matcher[T]
so that it can be transformed into a Matcher[Future[T]] making this implicit an extension method does not work out of the box
add an await
method to any matcher Matcher[T]
so that it can be transformed into a Matcher[Future[T]] making this implicit an extension method does not work out of the box
Attributes
Implicits
Implicits
when a Future contains a result, it can be awaited to return this result
when a Future contains a result, it can be awaited to return this result