vendredi 2 décembre 2016

TFS: Create individual Bug items when XUnit tests fail

Our goal is to implement CI testing and deployment for our DEV web environments:

Goal

  1. Run XUnit tests on check-in.
  2. If tests fail, create individual, associated Bug work items. Stop.
  3. If tests tests pass, deploy build to a UNC file path.

Current Setup

CI is on for the branch, and the build definition currently has enabled Create Work Item on Failure on the Options panel.

XUnit was integrated into the Visual Studio Test build step by providing the Path to Custom Test Adapters necessary.

Problem

Tests run and display results correctly in the build, but no bugs are created for the failed tests, only one for the overall build fail.

Question

How can I create individual Bugs (and include details about the bug in its description)?

Aucun commentaire:

Enregistrer un commentaire