The result of an execution, either:
- a success: the execution is ok
- a failure: an expectation is not met
- an error: an exception occurred
- a pending execution: the user has decided that execution must not be performed
- a skipped execution: based on dynamic conditions (a database not available for instance) the execution is not performed
A Result has:
- a message describing the outcome
- a message describing the expectation
- possibly a number of expectations when it is the outcome of several checks (this is used for the reporting of ScalaCheck properties).
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
Members list
Value members
Abstract methods
set the number of expectations
set the number of expectations
Attributes
Concrete methods
increment the number of expectations
increment the number of expectations
Attributes
Attributes
- Returns
-
the colored textual status of the result
number of expectations for a Result The default number is 1 but this could be higher if this result represents the execution of a ScalaCheck property
number of expectations for a Result The default number is 1 but this could be higher if this result represents the execution of a ScalaCheck property
Attributes
Attributes
- Returns
-
true if the result is an Error instance
Attributes
- Returns
-
true if the result is a Failure instance
Attributes
- Returns
-
true if the result is a failure or an Error
Attributes
- Returns
-
true if the result is a Pending instance
Attributes
- Returns
-
true if the result is a Skipped instance
Attributes
- Returns
-
true if the result is a Success instance
Attributes
- Returns
-
true if the result is a Skipped or Pending
Attributes
- Returns
-
true if the result is a Failure that was thrown like a JUnit assertion error or a NotImplemented exception
change this result's expected
change this result's expected
Attributes
Attributes
- Returns
-
the negation of this result where a success becomes a failure and vice-versa
prepend another message and a conjunction depending on the status of this result
prepend another message and a conjunction depending on the status of this result
Attributes
set the message of a result, keeping the subclass type
set the message of a result, keeping the subclass type
Attributes
Attributes
- Returns
-
the uncolored textual status of the result
Attributes
- Returns
-
the textual status of the result
update the expected of a result, keeping the subclass type
update the expected of a result, keeping the subclass type
Attributes
change this result's message
change this result's message