run

object run extends ClassRunnerMain

Run a specification from the command-line with specs2.run <specification name> <arguments>

class Object
trait Matchable
class Any

Value members

Concrete methods

def apply(specifications: SpecificationStructure*)(using arguments: Arguments): Unit

Run one or more specifications with specs2.run(spec1, spec2) from a terminal

Run one or more specifications with specs2.run(spec1, spec2) from a terminal

def main(args: Array[String]): Unit

main method for the command line

main method for the command line

Inherited methods

def createClassRunner(env: Env): Operation[ClassRunner]

Create a ClassRunner from the default environment containing the command line arguments

Create a ClassRunner from the default environment containing the command line arguments

Inherited from
ClassRunnerMain
def run(args: Array[String], exit: Boolean): Unit

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

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

Inherited from
ClassRunnerMain
def run(args: Array[String]): Unit

run a specification but don't exit with System.exit

run a specification but don't exit with System.exit

Inherited from
ClassRunnerMain