Running NUnit tests in Visual Studio 2010 with code coverage

Posted by adrianbanks on Stack Overflow See other posts from Stack Overflow or by adrianbanks
Published on 2010-05-26T12:27:41Z Indexed on 2010/05/26 12:31 UTC
Read the original article Hit count: 425

We have recently upgraded from Visual Studio 2008 to Visual Studio 2010. As part of our code base, we have a very large set of NUnit tests. We would like to be able to run these unit tests within Visual Studio, but with code coverage enabled. We have ReSharper, so can run the tests within Visual Studio, but it does not allow the code coverage tool to do its thing and generate the coverage statistics.

Is there any way to make this work, or will we have to convert the tests over to MSTest?

© Stack Overflow or respective owner

Related posts about c#

Related posts about visual-studio-2010