将 dotCover 与 TFS 集成
是否有教程或者有人可以解释如何将 dotCover 与 TFS 集成?我想要运行 dotCover(可能是控制台运行程序?)作为团队构建过程的一部分,并且想要生成一个集成在 TFS 构建报告中的报告。
Is there a tutorial somehwere or can somebody explain how to integrate dotCover with TFS? I want to run dotCover (probably the console runner?) as part of the team build process and would like to generate a report that is integrated in the TFS build report.
运行 dotCover 本身就很容易。只需将 InvokeProcess 活动添加到构建工作流程并调用适当的命令行选项即可。我有一个 博客文章显示了这是如何完成的(在我的示例中调用 VB6 编译器),但它应该告诉您需要做什么。
困难的部分是将报告集成到 TFS 构建报告中。您真正能做的就是稍微自定义日志 - 请参阅 Ewald Hoffmans 关于自定义构建的博客文章(和系列),如果您想做这个。
Running dotCover itself will be easy enough. Simply add an InvokeProcess activity to the build workflow and call the appropriate command line options. I've got a blog post showing how this is done (calling the VB6 compiler in my example) but it should show you what you need to do.
The hard part will be integrating a report into the TFS build report. All you'll really be able to do is slightly customise the log - see Ewald Hoffmans blog post (and series) on customising the build if you want to do this.