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
FailedStatusobject and the similarly namedFailedclass is that aFailedinstance indicates one test failed, whereas thisFailedStatusobject indicates either one or more tests failed and/or one or more suites aborted during a run. Both are used as the result type ofSuitelifecycle methods, butFailedis a possible result ofwithFixture, whereasFailedStatusis a possible result ofrun,runNestedSuites,runTests, orrunTest. In short,Failedis always just about one test, whereasFailedStatuscould be about something larger: multiple tests or an entire suite.