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 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
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
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
This runner can be used with any class implementing the Notifier trait
This trait loads specifications found on a given source directory based on a regular expression representing the Specification name, usually .*Spec
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.
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.
This trait is responsible for exiting the system after a run, depending on the success of the execution
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.
This object can be used to debug the behavior of the SbtRunner
This object can be used to debug the behavior of the TestInterfaceRunner
This class can be used to executed a Specification in the Console by specifying its name as the first argument on the command line
org.specs2.main.Arguments for other command line options
specs2.run