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

The class runner expects the first command-line argument to be the class name of a specification to execute

The class runner expects the first command-line argument to be the class name of a specification to execute

Companion:
object
object ClassRunner extends ClassRunner
Companion:
class
object ConsoleLogger extends Logger

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

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 SbtTask(aTaskDef: TaskDef, env: Env, loader: ClassLoader) extends Task
case class SlaveSbtRunner(args: Array[String], remoteArgs: Array[String], loader: ClassLoader, send: String => Unit) extends BaseSbtRunner
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
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 ClassRunner

Test runner to simulate a console run

Test runner to simulate a console run

object consoleRunner extends ClassRunner
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