2.3.0 • Published 8 years ago

mocha-directory v2.3.0

Weekly downloads
181
License
MIT
Repository
github
Last release
8 years ago

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)