There is no such option, as far as I know.
These failed tests actually show that you have a common state between your unit tests - in this case, the class field (mock).
Consider creating shared objects in each test instead of using TestInitialize to create a layout if it is complete, then use a helper method.
I do not recommend splitting tests between the two methods, and I think that this minimal code duplication not only ensures that you have no common condition, but also creates more readable tests and ensures that accidentally editing your initialization method will benefit from not invoking other tests.
For more information on why I prefer not to use SetUp / TestInitialize, check out James Newkirk's blog or my own thoughts on this .
source share