This trait can be imported to use ShouldMatchers in JUnit
- Companion
- object
trait JUnitExpectations
trait ShouldThrownExpectations
trait ThrownExpectations
trait ThrownStandardMatchResults
trait ExpectedResults
trait ThrownStandardResults
trait StandardResults
trait ThrownExpectationsCreation
trait ThrownExpectables
trait ShouldExpectations
trait TypedEqual
trait ExpectationsCreation
trait ResultChecks
trait MatchResultStackTrace
class Object
trait Matchable
class Any
Type members
Inherited classlikes
Value members
Inherited methods
override
- Definition Classes
- ThrownStandardResults -> StandardResults
- Inherited from
- ThrownStandardResults
override
- Returns
an Expectable with a description function
- Definition Classes
- ThrownExpectables -> ExpectationsCreation
- Inherited from
- ThrownExpectables
override
- Definition Classes
- ThrownStandardResults -> StandardResults
- Inherited from
- ThrownStandardResults
override
- Definition Classes
- ThrownStandardResults -> StandardResults
- Inherited from
- ThrownStandardResults
protected
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
override
- Definition Classes
- ThrownStandardResults -> StandardResults
- Inherited from
- ThrownStandardResults
override
- Definition Classes
- ThrownStandardResults -> StandardResults
- Inherited from
- ThrownStandardResults
override
- Returns
the value without any side-effects for expectations
- Definition Classes
- ThrownStandardMatchResults -> ResultChecks
- Inherited from
- ThrownStandardMatchResults
protected
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
override
- Definition Classes
- ThrownStandardResults -> StandardResults
- Inherited from
- ThrownStandardResults
override
- Definition Classes
- ThrownStandardResults -> StandardResults
- Inherited from
- ThrownStandardResults
override
- Definition Classes
- ThrownStandardResults -> StandardResults
- Inherited from
- ThrownStandardResults
Extensions
Implicits
Inherited implicits
final implicit
def expectedShould[T](tm: Expectable[T])(using not: NotGiven[NoShouldExpectations]): expectedShould[T]
- Inherited from
- ShouldExpectations