NSpec SpecWatchr工具是否可以与dotCover集成,以通过测试分析代码覆盖率?
发布于 2013-02-24 05:26:39
SpecWatchr只是一个在Rakefile中执行rake任务的文件监视器。使用DebuggerShim.cs (用NUnit的TestFixture属性修饰),您应该能够创建一个rake任务,该任务将通过dotCover运行特定的测试。
链接到DebuggerShim.cs:https://github.com/mattflo/NSpec/blob/master/NSpecSpecs/DebuggerShim.cs
然后,如果DebuggerShim.cs发生更改,则可以将SpecWatchr更改为运行dotCover:https://github.com/amirrajan/SpecWatchr/blob/master/dotnet.watchr.rb#L223
在SpecWatchr中执行Rake文件:https://github.com/amirrajan/SpecWatchr/blob/master/dotnet.watchr.rb#L177
请随时在twitter上联系我,我很乐意建立一个Skype会话来引导您完成这一过程。
https://stackoverflow.com/questions/14820728
复制相似问题