Integrating NUnitTesting GUI to Visual studio 2012 and debugging Test Cases

前端 未结 1 1326
悲哀的现实
悲哀的现实 2021-01-24 05:52

I am using NUnit 2.5 as my unit testing framework for visual studio 2012 professional. I configured NUnit.exe to open NUnit GUI for testing my dlls.

I am testing a dll c

相关标签:
1条回答
  • 2021-01-24 06:28

    Instead of directly hitting F5 and running the Test Project, I tried to run the project as this:

    1. Put a breakpoint where ever needed.
    2. Right click the Test project -> Debug -> Start new instance.

    and then when i choose that appropriate test method and hit run, that enabled me to hit the breakpoint.

    It works now.

    0 讨论(0)
提交回复
热议问题