Jaa


Test management

TFS 2017 | TFS 2015 | TFS 2013

Note

Looking for REST APIS that support TFS 2018 or later versions? See the Azure DevOps REST API Reference.

api-version = 1.0

A test case describes the steps to take when you run a test. Test suites are groups of test cases, and a test plan is the collection of test suites that need to be run for a particular iteration or release. Test points are the pairings of test cases with test configurations that need to be run for the test plan. A test run consists of a set of test points. The results are the outcome of running the tests in the test run.

Test management resources

Common tasks

Create a test plan

  1. Get the project that you're working in.
  2. Create the test plan.

Create a test suite with test cases

You need to have some test cases already created to do this.

  1. Create a test suite.
  2. Add some test cases to the suite.

Get the results from a test run

After you've run some tests...

  1. Get a test run.
  2. Get the ID of a run from the list, and get the results for that run.
  3. You can also get statistics for the run.

Licensing requirements

Test resources are subject to specific licensing and access restrictions. Please refer to the documentation links below for ensuring that the REST APIs are accessed with the appropriate user context.

Access Levels for Test Manager

Test Manager extension for Azure Test Plans