mocha-parallel-tests
mocha-parallel-tests copied to clipboard
Passing variables
Hello,
Since every test runs in its own process I cannot access the main context (this.suite.ctx) anymore.
Previously in mocha, I've added my parameters to this.suite.ctx which were available in every test, but with mocha-parallel-tests it seems that this context is empty in the tests.
I want to pass dynamic variables from my main file (where I start the different processes via new) to my tests.
Br, Rob