Monday, January 21, 2013

NEW TFS Tester Power Tool - Auto Create Test Cases from PBI Acceptance Criteria

Happy New Year everyone! I really can't think of better way to ring in the new year than with another tool to help MTM testers Auto Create Test Cases from PBI Acceptance Criteria(ok maybe there are some other ways, but another year passes and it's still so hard not to think like a geek).

TFS users put a lot of great information in the Acceptance Criteria field of the Product Backlog Item to ensure that the PBI meets a certain level of quality.  Usually tester's then create test cases manually(boo!) so that they can report on the testing of that PBI.  Well that's all until today, because now there is a tool that auto creates test cases efficiently so that you can spend more time on the most valuable activity - TESTING!

I am releasing this as a Beta here TFS Tester Power Tool - Auto Create Test Cases from Acceptance Criteria, because I would like to hear what you think and any improvements that could be made drop me a line in the comments.

Here's how it works:

  1. Click on Connect to TFS Team Project
  2. Select Project Collection and Team Project
  3. Find Query (e.g. "PBI Sprint 1")
  4. Double-click to Run Query 
  5. The Query Results of PBI's will be displayed on the right
  6. Enter Delimiter (e.g. "-").  The delimiter is used to separate the acceptance criteria and create multiple test cases.
  7. Click on Create Test Cases and wait for the AnnaBots, I mean tool to do all the hard work for you.
  8. Viola test cases were automatically created and linked to the PBI!
  9. The resulting test case looks like this with the Acceptance Criteria in the Title and Expected Result field and the PBI in the Action.
  10. The resulting PBI has the 2 test cases automatically linked.

Anna Russo
Application Lifecycle Management Consultant


  1. Thanks Anna - I can see this bringing even more value to listing out the acceptance criteria on a PBI. I passed this along to our internal QA group. This is something I think we can look forward to using with our instance of TFS. Is this a tool that installs on TFS and then becomes available for all projects hosted on that server?

    1. Hi Brett,

      Glad to be of help! This is a client side tool so you would install this tool on the tester's machine. Then it will prompt you to which TFS server/collection/team project you would like to connect to.

      Hope that helps,


  2. Awesome, Just Awesome. Now I can get back to testing.

  3. Hello Anna,
    This is a great tool. Can you only use the "-" as a delimiter?
    I tried a full-stop - but this did not work?
    Thanks and Regards,

    1. Yes you should be able to use "-" as a delimeter.

      Hope that helps,