test-helpers
Node.js path and fs helpers for things like reading fixtures and writing results while running tests.
Install
npm:
Install withnpm i test-helpers --save-dev
Usage
var helpers = options;
Options
dir
: the base directory for tests. default istest
fixtures
: the base directory for test fixtures. default istest/fixtures
actual
: the base directory for test results. default istest/actual
Options can be defined on the helpers()
function, or with helpers.option()
.
Examples:
Change the default directories to use for tests:
var helpers = dir: 'test' fixtures: 'test/fixtures' dir: 'test/actual';
Or use the .option()
method:
helpers;helpers;helpers;
Author
Jon Schlinkert
License
Copyright (c) 2014 Jon Schlinkert, contributors.
Released under the MIT license
This file was generated by verb-cli on August 11, 2014.