- new([io, waiting])
-
Creates TestRunner object.
The io argument specifies IO object. The default is STDERR.
The waiting argument specifies whether waits to enter RETURN before each test case runs.
If argument is
true
then wait to enter RETURN, and false
then does not wait.
The default is false
.
- run(test, [io, waiting])
-
Runs test.
The test argument specifies RUNIT::TestSuite object.
The io argument specifies IO object. The default is STDERR.
The waiting argument specifies whether waits to enter RETURN before each test case runs.
If argument is
true
then waits to enter RETURN, and false
then does not wait.
The default is false
.
The return value is RUNIT::TestResult object stored test result.
- run(test)
-
Runs test. The test argument specifies RUNIT::TestSuite object.
The return value is RUNIT::TestResult object stored test result.