Class gabarito.plumbing.Environment
Class defined in:lib/plumbing/Environment.js:7
The environment is responsible for loading the gabarito, the test files and running the tests themselves.
It must implement the method getName in order to describe itself to the reporters.
The dispatch method receives the files list, the reporters involved and a callback function that should be called when things complete, passing the results to the callback function as first argument.
Index
Methods
dispatch
( files, reporters, done
)
lib/plumbing/Environment.js:35
Method called by the runner that receives the files to be loaded, the reporters that should receive all events and the callback function that must be called passing all the results at the end of things.
Parameters:-
files
<String>The files list
-
reporters
<gabarito.plumbing.Reporter[]> -
done
<Function>