примерно так можно в сьюты организовать
package.json:"scripts": { "test": "npm run test-node && npm run test-browser", "test-node": "mocha -R spec ./test/node/index.js", "test-browser": "mocha-phantomjs ./test/browser/index.html" }Это с поисковика был пример.
Может и поможет:
1. Пронумеровать/переименовать фаилы в алфавитном порядке.
2. В конфиге mocha должны быть параметры по запуску...что-то можно объединить/исключить из запуска
3. Использование before/Each/after/Each
4. https://realguess.ne...order-in-mocha/describe('Suite', function () { it('Foo', function () { }); it('Bar', function () { }); });5. http://mochajs.org/#getting-started
-g, --grep <pattern> only run tests matching <pattern> -f, --fgrep <string> only run tests containing <string>По последней ссылки много параметров.
У нас используется protractor + jasmine.
иь