test-environment

An unit-test helper library to execute each test in separate directory.

npm install test-environment
8 downloads in the last week
23 downloads in the last month

test-environment

An unit-test helper library to execute each test in separate directory.

usage

set up with mocha tests.

var env = require('test-environment')();

describe('your test class', function () {
  before(env.before());

  describe('#method', function () {
    it('should works', function () {
      // this test will be executed in ./TestResults/20131204T133000
    });
  });

  after(env.after());
});
npm loves you