6

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.

jessehouwing
  • 106,458
  • 22
  • 256
  • 341
bitbonk
  • 48,890
  • 37
  • 186
  • 278

1 Answers1

2

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.

Richard Banks
  • 12,456
  • 3
  • 46
  • 62