API Docs for: 0.1.0

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.

gabarito.plumbing.Runner( )
lib/plumbing/Runner.js:22

Index

Methods

addFile( file )
lib/plumbing/Runner.js:62

Adds a file within the runner

Parameters:
  • file <String>
addReporter( reporter )
lib/plumbing/Runner.js:86

Adds a reporter within the runner

Parameters:
addRunner( environment )
lib/plumbing/Runner.js:74

Adds an environment within the runner

Parameters:
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.