object run extends ClassRunner
Run a specification from the command-line with specs2.run <specification name> <arguments>
- Alphabetic
- By Inheritance
- run
- ClassRunner
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
apply(specifications: SpecificationStructure*)(implicit arguments: Arguments = Arguments()): Unit
Run one or more specifications with
specs2.run(spec1, spec2)
from a terminal -
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
def
createPrinters(args: Arguments, loader: ClassLoader): Operation[List[Printer]]
accepted printers
accepted printers
- Definition Classes
- ClassRunner
-
def
createReporter(args: Arguments, loader: ClassLoader): Operation[Reporter]
custom or default reporter
custom or default reporter
- Definition Classes
- ClassRunner
-
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
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
main(args: Array[String]): Unit
main method for the command line
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
report(env: Env): (SpecificationStructure) ⇒ Action[Stats]
report the specification
report the specification
- Definition Classes
- ClassRunner
-
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
-
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
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
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.