Get methods covered by a unit test

Posted by Victor Hurdugaci on Stack Overflow See other posts from Stack Overflow or by Victor Hurdugaci
Published on 2010-04-27T16:11:58Z Indexed on 2010/04/27 16:13 UTC
Read the original article Hit count: 405

Is is possible to do the following from a Visual Studio 2010 plugin? If yes, how?

  1. Run all unittests in solution (with code coverage enabled)
  2. Wait for all tests to complete
  3. For successfully completed tests: Determine which methods were called during each test (directly by the test or indirectly by the tested methods).

What I actually don't know is how to interact with the testing framework...

© Stack Overflow or respective owner

Related posts about visual-studio-2010

Related posts about plugins