class util::TestRunner
sys::Obj util::TestRunner
@Js
TestRunner executes Test
classes and reports success/failure.
- isVerbose
-
Bool isVerbose
Should tests be run in verbose mode
- main
-
Run with given command line arguments
- onSetup
-
virtual Void onSetup(Test test)
Callback to invoke setup
- onTeardown
-
virtual Void onTeardown(Test test)
Callback to invoke teardown
- out
-
OutStream out := Env.cur().out
Output stream for built-in reporting
- printUsage
-
Void printUsage()
Print usage
- printVersion
-
Void printVersion()
Print version
- reportFailure
-
virtual Void reportFailure(Type type, Method method, Err err)
Report the failure and exception raised
- reportStart
-
virtual Void reportStart(Type type, Method method)
Report the start of a test method
- reportSuccess
-
virtual Void reportSuccess(Type type, Method method, Int verifies)
Report the success and number of verifies
- reportSummary
-
virtual Void reportSummary()
Report summary of tests
- runAll
-
virtual This runAll()
Run on every installed pod
- runMethod
-
virtual This runMethod(Type type, Method method)
Run test method
- runPod
-
Run all tests in given pod
- runTarget
-
virtual This runTarget(Str target)
Run target from an argument string
- runTargets
-
virtual This runTargets(Str[] targets)
Run list of targets from an argument string
- runType
-
virtual This runType(Type type)
Run all test methods on a given type