Search code examples
.netunit-testingmockingnunitmoles

Does Moles work with nUnit?


I have just see the Moles mocking framework from Microsoft Research, before I spend any time looking at it, I would like to know if it will work with nUnit, or do I have to use msTest?


Solution

  • Yes, but only with a twist: You need to start the nunit console runner through the moles.runner.exe command line tool.