Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does smocks support concurrency? #4

Closed
ericbrumfield opened this issue Sep 3, 2015 · 2 comments
Closed

Does smocks support concurrency? #4

ericbrumfield opened this issue Sep 3, 2015 · 2 comments

Comments

@ericbrumfield
Copy link

This is my first issue I've created and am new to github, so my apologies if this isn't the correct way to ask a question about smocks. Our test runners we use currently are running in parallel and I'm investigating Smocks as a Microsoft Fakes replacement, which MS Fakes doesn't support concurrency.

Does Smocks support concurrency? The behavior I'm seeing in a quick prototype/test run make me believe that it does as some tests that previously would intermittently fail with MS Fakes no longer do after switching them to use Smocks.

Appreciate the help!

@vanderkleij
Copy link
Owner

I haven't tested this, but concurrency should not be an issue indeed. Every Smock.Run call runs in a separate AppDomain and therefore should not interfere any other concurrent invocations.

@ericbrumfield
Copy link
Author

I assumed it was loading into individual AppDomains on each Smock.Run.. That's awesome, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants