Our team is working on writing unit tests for a large .Net project using the Visual Studio 2010 IDE and NUnit (version 2.5.9). We also use the Microsoft Moles insulation structure. After we have finished writing tests for a specific module, we must collect all the modules and perform unit tests on another computer on which Moles is not installed.
Is it possible to run unit tests written with moles without actually setting the mole frame, but only by copying and / or registering (in the GAC or in the registry) specific components? And if so, what are these components?
For example, we found that in order to run unit tests, you need to register "Microsoft.ExtendedReflection.ClrMonitor.x86" in the Windows registry.
source
share