In the current project I work on, we use simulado to run our behavioural test suite. We'd like to run these tests in parallel to increase its execution speed. The thing is, some of our features prime specific mocks before running, thus it's not possible to run these features in parallel. It would be needed to create a "session" at the start of a feature run, so that any prime happening in this feature would only impact this session. This way, every features would run in its own scope (ie with a specific mocks set).
We are currently adapting simulado to support this feature:
- Would it be relevant to submit a PR proposing it ? (understand: is it the way simulado is meant to evolve ?)
- Any idea on the desired API ? Did you have similar needings ?
In the current project I work on, we use simulado to run our behavioural test suite. We'd like to run these tests in parallel to increase its execution speed. The thing is, some of our features prime specific mocks before running, thus it's not possible to run these features in parallel. It would be needed to create a "session" at the start of a feature run, so that any prime happening in this feature would only impact this session. This way, every features would run in its own scope (ie with a specific mocks set).
We are currently adapting simulado to support this feature: