class Status extends Enum[Status]

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:

  • Success - a test succeeded
  • Error - an "error" occurred during a test
  • Failure - an "failure" during a test
  • Skipped - a test was skipped for any reason
  • Ignored - a test was ignored, i.e., temporarily disabled with the intention of fixing it later
  • Canceled - a test was canceled, i.e., not able to be completed because of some unmet pre-condition, such as a database being offline that the test requires
  • Pending - a test was declared as pending, i.e., with test code and/or production code as yet unimplemented

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.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Status
  2. Enum
  3. Serializable
  4. Comparable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. final def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    Enum → AnyRef
    Annotations
    @throws( ... )
  6. final def compareTo(arg0: Status): Int
    Definition Classes
    Enum → Comparable
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. final def equals(arg0: Any): Boolean
    Definition Classes
    Enum → AnyRef → Any
  9. final def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    Enum → AnyRef
  10. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. final def getDeclaringClass(): Class[Status]
    Definition Classes
    Enum
  12. final def hashCode(): Int
    Definition Classes
    Enum → AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. final def name(): String
    Definition Classes
    Enum
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. final def ordinal(): Int
    Definition Classes
    Enum
  19. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  20. def toString(): String
    Definition Classes
    Enum → AnyRef → Any
  21. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from Enum[Status]

Inherited from Serializable

Inherited from Comparable[Status]

Inherited from AnyRef

Inherited from Any

Ungrouped