Packages

object run extends ClassRunner

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

Linear Supertypes
ClassRunner, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. run
  2. ClassRunner
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def apply(specifications: SpecificationStructure*)(implicit arguments: Arguments = Arguments()): Unit

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

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  7. def createPrinters(args: Arguments, loader: ClassLoader): Operation[List[Printer]]

    accepted printers

    accepted printers

    Definition Classes
    ClassRunner
  8. def createReporter(args: Arguments, loader: ClassLoader): Operation[Reporter]

    custom or default reporter

    custom or default reporter

    Definition Classes
    ClassRunner
  9. def createSpecification(className: String, classLoader: ClassLoader = ..., env: Option[Env] = None): Operation[SpecificationStructure]

    create the specification from the class name

    create the specification from the class name

    Definition Classes
    ClassRunner
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. def main(args: Array[String]): Unit

    main method for the command line

  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. def report(env: Env): (SpecificationStructure) ⇒ Action[Stats]

    report the specification

    report the specification

    Definition Classes
    ClassRunner
  21. def run(args: Array[String], exit: Boolean): Unit

    run the specification, the first argument is expected to be the specification name

    run the specification, the first argument is expected to be the specification name

    Definition Classes
    ClassRunner
  22. 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

    Definition Classes
    ClassRunner
  23. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  24. def toString(): String
    Definition Classes
    AnyRef → Any
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from ClassRunner

Inherited from AnyRef

Inherited from Any

Ungrouped