Packages

trait TestContext extends AnyRef

Context of the current test suite.

Every Suite implementation is provided with a TestContext to register test outcomes and accumulators.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TestContext
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def registerOutcome(title: String, outcome: Outcome, payload: Option[Any], geometry: Seq[Feature], message: Option[String]): Unit

    Register a new test-case outcome.

    Register a new test-case outcome.

    title

    The title of the test-case.

    outcome

    The outcome of the test-case.

    payload

    The optional payload attached to the test-case report.

    geometry

    Optional geometry attached to the test-case report.

    message

    Optional additional test outcome description.

  2. abstract def withAccumulator[A <: Accumulator[_]](name: String)(fn: (A) ⇒ A)(implicit arg0: ClassTag[A]): Unit

    Updates or creates a new accumulator.

    Updates or creates a new accumulator.

    A

    The accumulator type.

    name

    The accumulator name.

    fn

    The update function. It receives the old value of the accumulator and returns the new value. If the accumulator doesn't exist yet, a new accumulator of type A is created with its zero value (using class A default constructor). If the accumulator exists with a different type, and exception is thrown.

Concrete 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. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. final def registerFailed(title: String, payload: Option[Any] = None, geometry: Seq[Feature] = Nil, message: Option[String] = None): Unit

    Register a new test-case failed outcome.

    Register a new test-case failed outcome.

    title

    The title of the test-case.

    payload

    The optional payload attached to the test-case report.

    geometry

    Optional geometry attached to the test-case report.

    message

    Optional additional test failure description.

  16. final def registerSkipped(title: String, payload: Option[Any] = None, geometry: Seq[Feature] = Nil, message: Option[String] = None): Unit

    Register a new test-case skipped outcome.

    Register a new test-case skipped outcome.

    title

    The title of the test-case.

    payload

    The optional payload attached to the test-case report.

    geometry

    Optional geometry attached to the test-case report.

    message

    Optional additional test skip description.

  17. final def registerSucceeded(title: String, payload: Option[Any] = None, geometry: Seq[Feature] = Nil, message: Option[String] = None): Unit

    Register a new test-case succeeded outcome.

    Register a new test-case succeeded outcome.

    title

    The title of the test-case.

    payload

    The optional payload attached to the test-case report.

    geometry

    Optional geometry attached to the test-case report.

    message

    Optional additional test success description.

  18. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  19. def toString(): String
    Definition Classes
    AnyRef → Any
  20. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped