Object

specs2

run

Related Doc: package specs2

Permalink

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def apply(specifications: SpecificationStructure*)(implicit arguments: Arguments = Arguments()): Unit

    Permalink

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

  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  7. def createPrinters(args: Arguments, loader: ClassLoader): Operation[List[Printer]]

    Permalink

    accepted printers

    accepted printers

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

    Permalink

    custom or default reporter

    custom or default reporter

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

    Permalink

    create the specification from the class name

    create the specification from the class name

    Definition Classes
    ClassRunner
  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  13. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  14. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  15. def main(args: Array[String]): Unit

    Permalink

    main method for the command line

  16. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  18. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  19. def report(env: Env): (SpecificationStructure) ⇒ Action[Stats]

    Permalink

    report the specification

    report the specification

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

    Permalink

    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

    Permalink

    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

    Permalink
    Definition Classes
    AnyRef
  23. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  24. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from ClassRunner

Inherited from AnyRef

Inherited from Any

Ungrouped