2.0.0 • Published 5 years ago

mochallel v2.0.0

Weekly downloads
9
License
MIT
Repository
github
Last release
5 years ago

mochallel

Build Status Coverage Status

Mocha tests running in parallel

comparison with mocha-parallel-tests

This module was inspired in mocha-parallel-tests, but instead of going the same route, it went into a simpler pathway, where options are just wired into the real mocha module, and it uses a generic pool from another npm module.

How to use

Use just exactly like mocha.

mochallel --maxParallel 2 --timeout 2000 --slow 500 path/to/your/tests

Use the --maxParallel <n> option to specify how many parallel processes you want.

The other options are exactly like mocha.

How to use (API)

Use exactly like mocha.

const Mochallel = require('mochallel')

const mocha = new Mochallel({ maxParallel: 2 })
mocha.addFile('path/to/your/tests')
mocha.run(code => {
    process.exit(code)
})

Use the maxParallel option to specify how many parallel processes you want.

All other options exactly like mocha.

2.0.0

5 years ago

1.8.6

5 years ago

1.8.5

6 years ago

1.8.4

6 years ago

1.8.3

6 years ago

1.8.2

6 years ago

1.8.1

6 years ago

1.8.0

6 years ago

1.7.12

6 years ago

1.7.11

6 years ago

1.7.10

6 years ago

1.7.9

6 years ago

1.7.8

6 years ago

1.7.7

6 years ago

1.7.6

6 years ago

1.7.5

6 years ago

1.7.4

6 years ago

1.7.3

6 years ago

1.7.2

6 years ago

1.7.1

6 years ago

1.7.0

6 years ago

1.6.8

6 years ago

1.6.7

6 years ago

1.6.6

6 years ago

1.6.5

6 years ago

1.6.4

6 years ago

1.6.3

6 years ago

1.6.2

6 years ago

1.6.1

6 years ago

1.6.0

6 years ago

1.5.1

6 years ago

1.5.0

6 years ago

1.4.0

6 years ago

1.3.2

6 years ago

1.3.1

6 years ago

1.3.0

6 years ago

1.2.0

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago