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

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

    See also

    org.specs2.main.Arguments for other command line options

    specs2.run

  2. trait FilesFingerprint extends TestFingerprint

  3. 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

    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

    See also

    org.specs2.main.Arguments for the regular expression defining the specification names to extract and other options

    org.specs2.io.FromSource for the definition of the source directory

  4. trait FilesRunnerFingerprint extends SubclassFingerprint

  5. 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

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

    It is only used if we are not using the Console exporter

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

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

  7. case class SbtRunner(args: Array[String], remoteArgs: Array[String], loader: ClassLoader) extends Runner with Events with SbtLoggers with Exporters with Product with Serializable

  8. trait SpecificationFingerprint extends SubclassFingerprint

  9. trait SpecificationsFinder extends FileSystem with Classes with ConsoleOutput with SourceFile

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

  10. trait Specs2Fingerprint extends TestFingerprint

  11. class Specs2Framework extends Framework

    Implementation of the Framework interface for the sbt tool.

    Implementation of the Framework interface for the sbt tool. It declares the classes which can be executed by the specs2 library.

  12. class SpecsFramework extends Framework

    Implementation of the Framework interface for the sbt tool.

    Implementation of the Framework interface for the sbt tool. It declares the classes which can be executed by the specs2 library.

  13. trait SystemExit extends AnyRef

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

  14. class TestInterfaceConsoleReporter extends ConsoleReporter with AllExporting

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

    Runner for TestInterface.

    Runner for TestInterface. It creates a Specification class with the given classLoader the classes which can be executed by the specs2 library.

    Then it uses a NotifierRunner to notify the EventHandler of the test events.

  16. class TextRunner extends ClassRunner

Value Members

  1. object ClassRunner

  2. object ConsoleLogger extends Logger

  3. object Fingerprints

  4. object NoEventHandler extends EventHandler

  5. object NullEventHandler extends EventHandler

  6. object SpecificationsFinder extends SpecificationsFinder

  7. object TestInterfaceConsoleLogger extends Logger

  8. object TestInterfaceFingerprints

  9. object sbtRun extends SbtRunner with SystemExit with ConsoleOutput

    This object can be used to debug the behavior of the SbtRunner

  10. object testInterface extends TestInterfaceRunner with Classes with SystemExit with ConsoleOutput

    This object can be used to debug the behavior of the TestInterfaceRunner

Ungrouped