Mock server with concurrent/parallel tests #7010
Unanswered
jorenbroekema
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Let's imagine I have multiple test files and multiple tests inside each test file, and I need the Mock Server to use different resolvers for each, how would I tackle this without running into issues where I'm getting errors that ports are already in use because I'm spinning up concurrent Mock Server instances on the same port?
Is there a way in where I can reuse the same Mock Server instance and namespace resolvers by a unique test-id or test-file-id? Has anyone accomplished something like this using Vitest or Jest or similar?
Beta Was this translation helpful? Give feedback.
All reactions