Does Microsoft Moles Framework generate code coverage

297 Views Asked by At

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

1

There are 1 best solutions below

0
Shaun Wilde On

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