org.specs2.runner

Type members

Classlikes

abstract class BaseSbtRunner(args: Array[String], remoteArgs: Array[String], loader: ClassLoader) extends Runner

Runner for Sbt

Runner for Sbt

Companion
object
Companion
class
object ConsoleTestingLogger extends Logger
case class DefaultClassRunner(env: Env, reporter: Reporter, specFactory: SpecFactory) extends ClassRunner

A runner for Specification classes based on their names

A runner for Specification classes based on their names

case class DefaultFilesRunner(env: Env, specificationsFinder: SpecificationsFinder) extends FilesRunner
case class DefaultSpecFactory(env: Env, classLoader: ClassLoader) extends SpecFactory

This trait finds specifications in the source directory, instantiate them and report them using various printers as specified on the command line

This trait finds specifications in the source directory, instantiate them and report them using various printers as specified on the command line

object Fingerprints
case class MasterSbtRunner(args: Array[String], remoteArgs: Array[String], loader: ClassLoader) extends BaseSbtRunner
object NoEventHandler extends EventHandler
case class NotifierRunner(notifier: Notifier)

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

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

object Runner

reusable actions for Runners

reusable actions for Runners

case class RunnerLogger(env: Env)
case class SbtTask(aTaskDef: TaskDef, env: Env, loader: ClassLoader, base: BaseSbtRunner) extends Task
case class SlaveSbtRunner(args: Array[String], remoteArgs: Array[String], loader: ClassLoader, send: String => Unit) extends BaseSbtRunner
Companion
object
object SpecFactory
Companion
class
trait SpecificationFingerprint extends SubclassFingerprint

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

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

Companion
object
Companion
class
class Specs2Framework extends Framework

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. It declares the classes which can be executed by the specs2 library.

object TextRunner extends ClassRunnerMain

Test runner to simulate a console run

Test runner to simulate a console run

object sbtRun extends MasterSbtRunner

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

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