mocha-directory
v2.3.0
Published
Allows you to organize your mocha test suites as directories
Downloads
171
Maintainers
Readme
mocha-directory
Allows you to organize your BDD mocha test suites as directories
Usage
File tree:
- tests/
- index.js
- Test Suite/
- test.js
tests/Test Suite/test.js:
it( 'should be a test', function() {
// Test
} );
index.js
require( 'mocha-directory' )();
Command:
mocha tests/
Output:
Test Suite
✓ should be a test
1 passing (9ms)