馃殌 Feature: Parallel support for test (it()) block #4983
Labels
status: waiting for author
waiting on response from OP - more information needed
type: feature
enhancement proposal
Is your feature request related to a problem or a nice-to-have?? Please describe.
Running the test suite in parallel creates conflict when Test Cases in a suite (describe) block are dependent on any database configuration and the same configuration is changing at runtime in other different file test suites as per the Test Cases in
describe
blockIn this use-case, every test suite has a before and after block to set some settings on an application, and in the same project every test suite uses the same application but on a different set of settings (set in before) so running describe block parallel is not a good idea as
before
block from multiple suites will run parallel and that will create conflict and tests will fail.Describe the solution you'd like
There should be an option to run Test Cases (all
it
blocks) in Parallel inside of a describe block similar tomocha.parallel
. I have tried using mocha.parallel but it has a lot of limitations like it does not support mocha config, reties etc...Describe alternatives you've considered
mocha.parallel
is a good option but it has a lot of limitations for mocha featuresThe text was updated successfully, but these errors were encountered: