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