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. Protected

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[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  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 = Thread.currentThread.getContextClassLoader, 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: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. def main(args: Array[String]): Unit

    main method for the command line

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

    report the specification

    report the specification

    Definition Classes
    ClassRunner
  20. 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
  21. 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
  22. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  23. def toString(): String
    Definition Classes
    AnyRef → Any
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from ClassRunner

Inherited from AnyRef

Inherited from Any

Ungrouped