class
Status extends Enum[Status]
Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
final
def
clone(): AnyRef
-
final
def
compareTo(arg0: Status): Int
-
-
final
def
equals(arg0: Any): Boolean
-
final
def
finalize(): Unit
-
final
def
getClass(): Class[_]
-
final
def
getDeclaringClass(): Class[Status]
-
final
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
final
def
name(): String
-
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
final
def
ordinal(): Int
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
Represents the status of running a test.
Test frameworks can decided which of these to use and what they mean, but in general, the intended meanings are:
The difference between errors and failures, if any, is determined by the test frameworks. JUnit and specs2 differentiate between errors and failures. ScalaTest reports everything (both assertion failures and unexpected errors) as failures. JUnit and ScalaTest support ignored tests. ScalaTest and specs2 support a notion of pending tests. ScalaTest differentiates between ignored and canceled tests, whereas specs2 only supports skipped tests, which are implemented like ScalaTest's canceled tests. TestNG uses "skipped" to report tests that were not executed because of failures in dependencies, which is also similar to canceled tests in ScalaTest.