Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我完成新功能的实施并实施新的自动化测试时,我想在本地运行所有测试。这需要很多时间。如果这是运行或调试,我想使用不同的网络驱动程序。我如何检查这是运行还是调试?我使用 nunit & resharper 测试运行器。
System.Diagnostics.Debugger.IsAttached