Class gabarito.plumbing.Runner
Class defined in:lib/plumbing/Runner.js:22
The gabarito runner. It needs the reporters in order to receive the varius events issued by the environments. The environments in which the test should run, and the files containing the tests themselves.
Index
Methods
addReporter
( reporter
)
lib/plumbing/Runner.js:86
Adds a reporter within the runner
Parameters:-
reporter
<gabarito.plumbing.Reporter>
addRunner
( environment
)
lib/plumbing/Runner.js:74
Adds an environment within the runner
Parameters:-
environment
<gabarito.plumbing.Environment>
run
( done
)
lib/plumbing/Runner.js:99
Dispatches the runner
Parameters:-
done
<Function>The function that will be called when things have finished. It will receive the test results as first argument.