objectSucceededStatus extends Status with Serializable
Singleton status that represents an already completed run with no tests failed and no suites aborted.
Note: the difference between this SucceededStatus object and the similarly named Succeeded
object is that the Succeeded object indicates one test succeeded, whereas this SucceededStatus object indicates the absence
of any failed tests or aborted suites during a run. Both are used as the result type of Suite lifecycle methods, but Succeeded
is a possible result of withFixture, whereas SucceededStatus is a possible result of run, runNestedSuites,
runTests, or runTest. In short, Succeeded is always just about one test, whereas SucceededStatus could be
about something larger: multiple tests or an entire suite.
Singleton status that represents an already completed run with no tests failed and no suites aborted.
Note: the difference between this
SucceededStatus
object and the similarly namedSucceeded
object is that theSucceeded
object indicates one test succeeded, whereas thisSucceededStatus
object indicates the absence of any failed tests or aborted suites during a run. Both are used as the result type ofSuite
lifecycle methods, butSucceeded
is a possible result ofwithFixture
, whereasSucceededStatus
is a possible result ofrun
,runNestedSuites
,runTests
, orrunTest
. In short,Succeeded
is always just about one test, whereasSucceededStatus
could be about something larger: multiple tests or an entire suite.