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

  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

  6. class HtmlRunner extends ClassRunner

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

  7. class JUnitRunner extends Runner with DefaultSelection

    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. class MarkdownRunner extends ClassRunner

    This runner uses a MarkdownReporter, creating markdown pages, for running the specification

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

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

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

  12. trait SpecificationFingerprint extends SubclassFingerprint

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

  14. trait Specs2Fingerprint extends TestFingerprint

  15. class Specs2Framework extends Framework

    Implementation of the Framework interface for the sbt tool.

  16. class SpecsFramework extends Framework

    Implementation of the Framework interface for the sbt tool.

  17. trait SystemExit extends AnyRef

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

  18. class TestInterfaceConsoleReporter extends ConsoleReporter with AllExporting

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

    Runner for TestInterface.

  20. class TextRunner extends ClassRunner

Value Members

  1. object ConsoleLogger extends Logger

  2. object Fingerprints

  3. object JUnitRunner

    Factory methods to help with testing

  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

  11. object textJUnitRunner

    Simple JUnitRunner to run specifications on the console for testing

Ungrouped