locked
Workflow coverage using Code Coverage? RRS feed

  • Question

  • While using code coverage in test cases VS produces a nice overview of the coverage. It even shows the coverage of the .g.cs files. Unfortunately it doesn't show the coverage of the workflows and activities. Does somebody know if this is possible?
    Thursday, April 8, 2010 10:15 AM

Answers

  • Do you mean you want to calculate the data like which & how many time activities is executed?

    We don't have this support build in VS. If you really want to do it, you can achieve by using Tracking. But you need to calculate the data by yourself.

    • Marked as answer by Dutchdre Tuesday, April 13, 2010 9:50 AM
    Tuesday, April 13, 2010 5:10 AM

All replies

  • Do you mean you want to calculate the data like which & how many time activities is executed?

    We don't have this support build in VS. If you really want to do it, you can achieve by using Tracking. But you need to calculate the data by yourself.

    • Marked as answer by Dutchdre Tuesday, April 13, 2010 9:50 AM
    Tuesday, April 13, 2010 5:10 AM
  • That is exactly what I'm looking for. I'll have a look at Tracking.

    Thank you very much.

    • Proposed as answer by Taylor Bird Tuesday, January 29, 2013 9:52 PM
    Tuesday, April 13, 2010 9:50 AM
  • This topic demonstrates how to create an activity extension that counts executions- this may be an easier way to hook into your test framework than using tracking:

     

    http://msdn.microsoft.com/en-us/library/ff460215.aspx

    Thursday, April 29, 2010 7:52 PM