我想在持续集成期间对我的代码执行自动分析。
我知道 dottrace 之类的工具可以分析我的代码,但我想要的是一个每天晚上进行分析并向我发送报告的工具,这样我就可以知道哪些代码需要改进。
最佳答案
来自 this ANTS Profiler 似乎可以做到这一点:
ANTS Profiler can profile a unit test. The method for doing this is to set ANTS Profiler to profile a .NET desktop application, then choose the path to NUnit-gui.exe. Once ANTS Profiler starts NUnit for you, you can load your test assembly and run your unit test. During the unit test, you can take snapshots from ANTS Profiler, and profiling will stop when NUnit's window is closed.
It would also be possible to profile the console version on NUnit in the same fashion. In addition to choosing nunit-console.exe as the application to profile, specify the name of the assembly to load and the appropriate options in the Arguments box.
关于c# - 寻找持续集成分析器 (C#),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2250829/