org.scalatest

events

package events

Type Members

  1. class Event extends Ordered[Event]

    A base class for the events that can be passed to the report function passed to the execute method of a Suite

  2. class Formatter extends AnyRef

    Abstract class for the optional formatter objects that must be passed to the Events reported during a ScalaTest run

  3. class IndentedText(formattedText: String, rawText: String, indentationLevel: Int) extends Formatter with Product

    A Formatter providing information that enables reporters to create more stylized output

  4. class InfoProvided(ordinal: Ordinal, message: String, nameInfo: Option[NameInfo], aboutAPendingTest: Option[Boolean], throwable: Option[Throwable], formatter: Option[Formatter], payload: Option[Any], threadName: String, timeStamp: Long) extends Event with Product

    Event used to provide information that is not appropriate to report via any other Event

  5. class NameInfo(suiteName: String, suiteClassName: Option[String], testName: Option[String]) extends Product

    Class that holds information about names for an InfoProvided event

  6. class Ordinal extends Ordered[Ordinal]

    Class used to specify a sequential order for events reported during a test run, so they can be arranged in that order in a report even if the events were fired in some other order during concurrent or distributed execution

  7. class RunAborted(ordinal: Ordinal, message: String, throwable: Option[Throwable], duration: Option[Long], summary: Option[Summary], formatter: Option[Formatter], payload: Option[Any], threadName: String, timeStamp: Long) extends Event with Product

    Event that indicates a runner encountered an error while attempting to run a suite of tests

  8. class RunCompleted(ordinal: Ordinal, duration: Option[Long], summary: Option[Summary], formatter: Option[Formatter], payload: Option[Any], threadName: String, timeStamp: Long) extends Event with Product

    Event that indicates a runner has completed running a suite of tests

  9. class RunStarting(ordinal: Ordinal, testCount: Int, configMap: Map[String, Any], formatter: Option[Formatter], payload: Option[Any], threadName: String, timeStamp: Long) extends Event with Product

    Event that indicates a runner is about run a suite of tests

  10. class RunStopped(ordinal: Ordinal, duration: Option[Long], summary: Option[Summary], formatter: Option[Formatter], payload: Option[Any], threadName: String, timeStamp: Long) extends Event with Product

    Event that indicates a runner has stopped running a suite of tests prior to completion, likely because of a stop request

  11. class SuiteAborted(ordinal: Ordinal, message: String, suiteName: String, suiteClassName: Option[String], throwable: Option[Throwable], duration: Option[Long], formatter: Option[Formatter], rerunner: Option[Rerunner], payload: Option[Any], threadName: String, timeStamp: Long) extends Event with Product

    Event that indicates the execution of a suite of tests has aborted, likely because of an error, prior to completion

  12. class SuiteCompleted(ordinal: Ordinal, suiteName: String, suiteClassName: Option[String], duration: Option[Long], formatter: Option[Formatter], rerunner: Option[Rerunner], payload: Option[Any], threadName: String, timeStamp: Long) extends Event with Product

    Event that indicates a suite of tests has completed executing

  13. class SuiteStarting(ordinal: Ordinal, suiteName: String, suiteClassName: Option[String], formatter: Option[Formatter], rerunner: Option[Rerunner], payload: Option[Any], threadName: String, timeStamp: Long) extends Event with Product

    Event that indicates a suite of tests is about to start executing

  14. class Summary(testsSucceededCount: Int, testsFailedCount: Int, testsIgnoredCount: Int, testsPendingCount: Int, suitesCompletedCount: Int, suitesAbortedCount: Int) extends Product

    Class each of whose instances hold summary information about one ScalaTest run

  15. class TestFailed(ordinal: Ordinal, message: String, suiteName: String, suiteClassName: Option[String], testName: String, throwable: Option[Throwable], duration: Option[Long], formatter: Option[Formatter], rerunner: Option[Rerunner], payload: Option[Any], threadName: String, timeStamp: Long) extends Event with Product

    Event that indicates a suite (or other entity) has completed running a test that failed

  16. class TestIgnored(ordinal: Ordinal, suiteName: String, suiteClassName: Option[String], testName: String, formatter: Option[Formatter], payload: Option[Any], threadName: String, timeStamp: Long) extends Event with Product

    Event that indicates a suite (or other entity) has ignored a test

  17. class TestPending(ordinal: Ordinal, suiteName: String, suiteClassName: Option[String], testName: String, formatter: Option[Formatter], payload: Option[Any], threadName: String, timeStamp: Long) extends Event with Product

    Event that indicates a test is pending, i

  18. class TestStarting(ordinal: Ordinal, suiteName: String, suiteClassName: Option[String], testName: String, formatter: Option[Formatter], rerunner: Option[Rerunner], payload: Option[Any], threadName: String, timeStamp: Long) extends Event with Product

    Event that indicates a suite (or other entity) is about to start running a test

  19. class TestSucceeded(ordinal: Ordinal, suiteName: String, suiteClassName: Option[String], testName: String, duration: Option[Long], formatter: Option[Formatter], rerunner: Option[Rerunner], payload: Option[Any], threadName: String, timeStamp: Long) extends Event with Product

    Event that indicates a suite (or other entity) has completed running a test that succeeded

Value Members

  1. object InfoProvided extends AnyRef

    Companion object for the

    object MotionToSuppress extends Formatter with Product

    A Formatter that indicates reporters may wish to suppress reporting of an Event

  2. object NameInfo extends AnyRef

    Companion object for case class

    object RunAborted extends AnyRef

    Companion object for the

    object RunCompleted extends AnyRef

    Companion object for the

    object RunStarting extends AnyRef

    Companion object for the

    object RunStopped extends AnyRef

    Companion object for the

    object SuiteAborted extends AnyRef

    Companion object for the

    object SuiteCompleted extends AnyRef

    Companion object for the

    object SuiteStarting extends AnyRef

    Companion object for the

    object Summary extends AnyRef

    Companion object for case class

    object TestFailed extends AnyRef

    Companion object for the

    object TestIgnored extends AnyRef

    Companion object for the

    object TestPending extends AnyRef

    Companion object for the

    object TestStarting extends AnyRef

    Companion object for the

    object TestSucceeded extends AnyRef

    Companion object for the