1

I have a simple test project using Moles and I have check the flag in the test settings to create code coverage but the Moles tests do not generate code coverage.

I'm not using Pex.

Does Microsoft Moles Framework generate code coverage?

Thanks

Shaun Wilde
  • 8,228
  • 4
  • 36
  • 56
Steve
  • 11
  • 1

1 Answers1

2

Not as I understand it

You need to use a different tool for that. OpenCover and NCover are code coverage tools for .NET that will work with moles.

Try these previous questions No Code Coverage Information for Tests Using Moles, NCover support with Moles and https://stackoverflow.com/questions/8385592/how-to-integrate-ncover-moles-mstest-to-get-the-coverage for starters

Community
  • 1
  • 1
Shaun Wilde
  • 8,228
  • 4
  • 36
  • 56