Hi,
Sorry that my company policy doesn't allow me to post any code block in this questions so I have to try explaining the problem by words.
I'm trying to create unit test for a legacy classes that contains 50 static variables.
As you could imagine that the static variables are dirty after being tested and i came up with a solution for creating new appdomain for every test. That involved "AppDomain.CreateDomain" and "domain.CreateInstanceFromAndUnwrap"
Those test works perfectly on Resharper test runner and nunit test runner
But the Typemock test running all return failed with exception
System.IO.FileNotFoundException : Could not load file or assembly 'TypeMock, Version=8.2.3.20, Culture=neutral, PublicKeyToken=3dae460033b8d8e2' or one of its dependencies. The system cannot find the file specified.
Again, sorry that I cannot post any code block over here. So, please let me know if anything is not clear about my problem.
Thanks