mocha.parallel という Mocha のテストを並列実行できる npm モジュールがあったので試してみました。 インストール $ npm install -g mocha $ npm install -D mocha.parallel 並列じゃない例 まずは並列じゃない例を。 // test/a-test.js const assert = require('assert'); describe('a', () => { before(() => { console.log('before'); }); beforeEach(() => { console.log('before each'); }); afterEach(() => { console.log('after each'); }); after(() => { console.log('after'); });