简体   繁体   中英

Trying to automatically populate our manual test plans into every build/iteration in TFS?

Is it possible to automatically clone and populate a new test plan (that is the same as the current one) for each new iteration and build in TFS? Our Test Plans are built, but we don't know how to have a new one to properly track what testing did or did not get done with each build and iteration.

You could use TFS REST API to create test plans by specifying the "name", "area", and "iteration":

POST https://{accountName}.visualstudio.com/{project}/_apis/test/plans?api-version=5.0-preview.2

{
  "name": "ANewPlan",
  "area": {
    "name": "Fabrikam-Fiber-TFVC\\Quality assurance"
  },
  "iteration": "Fabrikam-Fiber-TFVC\\Release 1"
}

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM