# mocha-directory

> Allows you to organize your mocha test suites as directories

Latest version **2.3.0** (published 2016-04-02) · MIT license · 0 weekly downloads

## Install

```sh
npm install mocha-directory
pnpm add mocha-directory
yarn add mocha-directory
bun add mocha-directory
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.3.0 |
| Published | 2016-04-02 |
| First published | 2015-04-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Mike Lyons |
| Maintainers | frenchie4111 |
| Keywords | mocha, directory, suite, tests, dir, bdd |

## Links

- npm: https://www.npmjs.com/package/mocha-directory
- Repository: https://github.com/frenchie4111/mocha-directory
- Issues: https://github.com/frenchie4111/mocha-directory/issues
- npm.io page: https://npm.io/package/mocha-directory

## Dependencies (2)

- [callsite](https://npm.io/package/callsite.md) ^1.0.0
- [underscore](https://npm.io/package/underscore.md) ^1.8.3

## Alternatives

- [duck](https://npm.io/package/duck.md) — 4.2M weekly downloads
- [ava](https://npm.io/package/ava.md) — 560.2K weekly downloads
- [storybook-addon-module-mock](https://npm.io/package/storybook-addon-module-mock.md) — 71.7K weekly downloads
- [vest](https://npm.io/package/vest.md) — 50.1K weekly downloads
- [@ethereum-waffle/mock-contract](https://npm.io/package/@ethereum-waffle/mock-contract.md) — 40.0K weekly downloads

## Recent versions

- 2.3.0 (latest) — 2016-04-02
- 2.2.0 — 2016-04-02
- 2.1.0 — 2016-04-02
- 2.0.0 — 2016-04-02
- 1.1.0 — 2016-04-02
- 1.0.0 — 2015-04-28

## 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:

```javascript
it( 'should be a test', function() {
  // Test
} );
```

index.js

```javascript
require( 'mocha-directory' )();
```

Command:

```bash
mocha tests/
```

Output:

```
Test Suite
    ✓ should be a test

  1 passing (9ms)
```

---
_Source: https://npm.io/package/mocha-directory · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
