objectFailedStatus extends Status with Serializable
Singleton status that represents an already completed run with at least one failed test or aborted suite.
Note: the difference between this FailedStatus object and the similarly named Failed
class is that a Failed instance indicates one test failed, whereas this FailedStatus object indicates either one or more tests failed
and/or one or more suites aborted during a run. Both are used as the result type of Suite lifecycle methods, but Failed
is a possible result of withFixture, whereas FailedStatus is a possible result of run, runNestedSuites,
runTests, or runTest. In short, Failed is always just about one test, whereas FailedStatus could be
about something larger: multiple tests or an entire suite.
Singleton status that represents an already completed run with at least one failed test or aborted suite.
Note: the difference between this
FailedStatus
object and the similarly namedFailed
class is that aFailed
instance indicates one test failed, whereas thisFailedStatus
object indicates either one or more tests failed and/or one or more suites aborted during a run. Both are used as the result type ofSuite
lifecycle methods, butFailed
is a possible result ofwithFixture
, whereasFailedStatus
is a possible result ofrun
,runNestedSuites
,runTests
, orrunTest
. In short,Failed
is always just about one test, whereasFailedStatus
could be about something larger: multiple tests or an entire suite.