API Docs for: 0.1.0

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.

gabarito.plumbing.Environment( )
lib/plumbing/Environment.js:7

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:
String getName( )
lib/plumbing/Environment.js:23

The environment's name


Returns: <String>