Is there a way to build a report using the MS Team Foundation Server API or other means so that I can count the number of unit tests which have been written against a requirement? ( or user story )
Approaches under consideration: (1) Create an attribute on test methods so we can note the requirement ID on the unit test method. Under this option, I am not sure how we could walk the test results and grab the requirement ID.
(2) Put the requirement ID into the test method name (Ugly)
(3) Start doing BDD.
Any other options are welcome...
Thank you in advance for your time.