mocha-parallel / mocha-parallel-tests

Parallel test runner for mocha tests. Looking for maintainer.
MIT License
200 stars 45 forks source link

Incompatible with `mocha-cakes-2` #268

Open nick-kompas-cko opened 5 years ago

nick-kompas-cko commented 5 years ago

When initializing a new Mocha with mocha-cakes-2, the tests are unable to run.

var mocha = new Mocha({
    grep: scopeGrep,
    timeout: 60000,
    ui: 'mocha-cakes-2',
    reporter: mochaReporter,
    reporterOptions: {
        enableCode: false,
        autoOpen: false
    }
});

Error: ReferenceError: feature is not defined

I expected this to work is mocha-parallel-tests appears to be a wrapper of Mocha. Any chance of adding support for this?

nick-kompas-cko commented 5 years ago

I just realised it was already requested that you add support for the ui option by someone else.

1999 commented 5 years ago

This looks more like a global issue where a global variable is shared between the tests. Is there such thing in mocha-cake-2?