class

TestRunner

@Js
class TestRunner : Obj

TestRunner executes Test classes and reports success/failure.

fields isVerbose

Should tests be run in verbose mode

out

Output stream for built-in reporting

methods reportSummary

Report summary of tests

printVersion

Print version

runType

Run all test methods on a given type

main

Run with given command line arguments

reportStart

Report the start of a test method

reportSuccess

Report the success and number of verifies

printUsage

Print usage

runTarget

Run target from an argument string

onTeardown

Callback to invoke teardown

runTargets

Run list of targets from an argument string

onSetup

Callback to invoke setup

runPod

Run all tests in given pod

runMethod

Run test method

runAll

Run on every installed pod

reportFailure

Report the failure and exception raised

isVerbose Bool : isVerbose

Should tests be run in verbose mode

main static Int main(Str[] args)

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

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 virtual This runPod(Pod pod)

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

Haxall 4.0.5 ∙ 24-Feb-2026 14:33 EST