Test Plan and Test Suite Customization with TFS2013 Update3

Test Plan and Test Suite Customization with TFS2013 Update3

Rate This
  • Comments 9

One of the top feature requests from Microsoft Test Manager/Test Case Management users across various forums has been the ability to customize the Test Plan and Test Suite artifacts. Based on the feedback, with Team Foundation Server 2013 Update 3, we are adding the functionality to add custom fields and workflows to Test Plans and Test Suites, along with other new features such as change tracking and enhanced permissions.

Customization for Test Plan and Test Suite artifacts: One of the key benefits of customization is the flexibility to align the workflows and fields of artifacts used for tracking activities with the business processes used by your organization. With TFS 2013 Update 3, this concept can be extended to your test lifecycle, by customizing test plans and test suites. For example, you can now do the following:

  • Change the default states of a test plan from “Active” and “Inactive” to say, “Authoring”, “Testing”, “Ready for SignOff”, and “Completed”, to better reflect the test activities practiced as part of your software development model.
  • Add additional user fields to test plans and test suites, such as reviewers, approvers, signoff owner, etc. required for accountability or audit requirements. 
  • Add custom fields to test suites such as Test Type, with values such as “Functional”, “Regression”, etc., to highlight what type of tests are contained in the test suite.

The process to customize test plans and test suites is similar to existing TFS work items, which means you can use the familiar witadmin command or the Process Editor toolset for customization. Existing test plans and test suites will be migrated to work-item based test plans and test suites as a part of the TFS upgrade process, ensuring a seamless transition for existing environments.

open_test_plan

testplan

Enhanced Permissions Model for Test Plans and Test Suites: With work item based test plans and test suites, you can extend the area-path based permissions model that you use for existing TFS work items such as user stories and bugs to test plans and test suites. Additionally, a new permission to manage test suites is available with TFS 2013 Update 3. Going forward, the ‘Manage test suites’ permission can be used to moderate access to operations performed on a test suite such as:

  • Creating and deleting test suites
  • Adding test cases to test suites or removing test cases form test suites
  • Changing test configurations associated with test suites
  • Modifying suite hierarchy (moving a test suite)

manage_test_plan_suite

The existing ‘Manage test plans’ permission will be scoped-down to restrict access to test plan properties such as build, test settings, etc. Like the existing ‘Manage test plans’ permission, the new ‘Manage test suites’ permission can be assigned at an area-path level, meaning different users/user groups can be granted exclusive access to different test suites within a single test plan. To easily migrate to this enhanced permission model, the existing test suites will be placed under the same area-path as that of the test plan and the permission for ‘Manage test suites’ will be copied from the existing ‘Manage test plans’ permission during the upgrade.

History/Auditing for changes to Test Plan and Test Suite: Work Item History can now be used to track changes to test plans and test suites. Changes to work item fields of test plans and test suites such as ‘State’ or ‘Iteration’ will be tracked as its done for existing TFS work items. Additionally, operations performed on test plan and test suite, for example: adding tests to a test suite or changing configurations, will be tracked using special field called ‘Audit’ in the work item history. With this, there will be a consolidated history view including changes performed to work items field and changes resulting from related artifacts such as test points and configurations.

test_suite_audit

You can get started with exploring these features by downloading and upgrading to TFS 2013 Update 3 CTP1. Kindly note that CTP1 is not a go-live release.

Leave a Comment
  • Please add 2 and 7 and type the answer here:
  • Post
  • Can they be used for Unit test management also?

  • How can we edit configurations with witadmin? What about reports to covering these new features?

  • Manoj,

    Now that these are true Work Items, can they be made visible either in the Backlog Kanban or the Iteration Task Board?

  • Hi,

    this is a great advance, but at least with CTP 2 there are no workitem links between Test Plan, Test Suite, Test Case.  Without them, this is only half as useful as it could be. Will they be in the final release?

  • I second Ed's question. The fact that the test cases do not show up in the backlog really hinders their usage in our scenario. Having them display there would be a very good thing.

  • This is awsome! A feature I have been waiting for since TFS2010. I would like to know if the testplan and suite will be a new genuine work item type with all of the functionality that comes with it, or will it be some kind of hybrid?

    Cheers

    /Mike

  • The Test Plan and Suite customization and the ability to use them as Work Items is great! But I am missing one thing, it would be really nice if we could see the relations between Test Plans, Suites, Test Case and Test results as links and attachments, do you have any plans to do that?

  • Having test suites and test plans as real work items will be great, but is this yet another feature that won't be available with Visual Studio Online, in the same way that reporting is restricted?  If it will be released, any idea when?  Presumably there will need to be an update for Visual Studio and for Test Manager to work with these new structures?

  • The downloads page has been updated to describe TFS Express 2013.3, but all the download links point to the update installer and ISO for TFS Express 2013.2.  Can someone fix this ASAP? Thanks.

Page 1 of 1 (9 items)