Nunit & resharper test runner. How to get if the test is debugged or run

When I finished implementation of the new functionality & implemented new automation test I would like to run all test locally. It takes lots of time. Depending if this is run or debug I would like to use different web driver. How may I check if this is run or debug? I use nunit & resharper test runner.


System.Diagnostics.Debugger.IsAttached

链接地址: http://www.djcxy.com/p/51774.html

上一篇: 实施类型推断

下一篇: Nunit&resharper测试跑步者。 如何获得测试是否被调试或运行