0
votes

Is it possible to link the test results from a build defined in vNext with automated test cases defined in TFS?

Here is our current set-up:

  • TFS 2015 with update 1 (on premises)
  • User stories defined, acceptance criteria defined as scenarios which translate to test cases.
  • Code set-up with automated tests using MsTest (via SpecFlow)
  • Tests in MsTest linked with test cases using the test case manager tool:
    > tcm testcase /import /collection:http://tfs:8080/tfs /teamproject:project1 /syncsuite:121 /storage:Domain1\Domain1.Spec\bin\Debug\Domain1.Spec.dll
  • 2 builds created with vNext:
    1. Continuous integration build where the Visual Studio Test build step used
    2. Periodic delivery build which runs heavier tests using the Visual Studio Test using Test Agent build step

The problem is that we do not see any link to the test case in the test results that were run for the builds.

Having this link would provide useful information like

  • % of test cases running in CI build
  • % of test cases running for a delivery build
  • Run history for each automated test case with respect to the builds
  • etc.
1

1 Answers

0
votes

There is not test case related information in build result. But you can get test run result on how many tests are passed.

enter image description here