org.specs2

runner

package runner

Visibility
  1. Public
  2. All

Type Members

  1. class ClassRunner extends Classes with ConsoleOutput with SystemExit

    This class can be used to executed a Specification in the Console by specifying its name as the first argument on the command line

  2. trait FilesRunner extends SpecificationsFinder with SystemExit

    This trait finds specifications in the source directory, instantiate them as one big specification and report them using the ConsoleReporter or the HtmlReporter depending on the presence of the html flag

  3. trait FilesRunnerFingerprint extends TestFingerprint

  4. case class FinalResultsReporter(handler: EventHandler, loggers: Array[Logger]) extends TestInterfaceReporter with Product with Serializable

    This reporter will just notify the test interface about test results for the end statistics

  5. class HtmlRunner extends ClassRunner

    This runner uses an HtmlReporter, creating html pages, for running the specification

  6. class JUnitDescriptionsFragments extends JUnitDescriptions[Fragment]

    Descriptions for a seq of Fragments to execute

  7. class JUnitRunner extends Runner with ExecutionOrigin with DefaultSelection with DefaultSequence with Exporters

    The JUnitRunner class is a junit Runner class meant to be used with the RunWith annotation to execute a specification as a JUnit suite.

  8. class JUnitXmlRunner extends ClassRunner

    This runner uses a JUnitXmlReporter, creating junit xml files

  9. case class NotifierRunner(notifier: Notifier) extends Product with Serializable

    This runner can be used with any class implementing the Notifier trait

  10. class SpecFailureAssertionFailedError extends AssertionFailedError

    This class refines the AssertionFailedError from junit and provides the stackTrace of an exception which occurred during the specification execution

  11. trait SpecificationsFinder extends FileSystem with Classes with ConsoleOutput

    This trait loads specifications found on a given source directory based on a regular expression representing the Specification name, usually .

  12. trait Specs2Fingerprint extends TestFingerprint

  13. class SpecsFramework extends Framework

    Implementation of the Framework interface for the sbt tool.

  14. trait SystemExit extends AnyRef

    This trait is responsible for exiting the system after a run, depending on the success of the execution

  15. class TestInterfaceRunner extends Runner with HandlerEvents with TestLoggers with Exporters

    Runner for TestInterface.

Value Members

  1. object FilesRunner extends FilesRunner

  2. object Fingerprints

  3. object JUnitRunner

    Factory methods to help with testing

  4. object SpecificationsFinder extends SpecificationsFinder

No Group