Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 1.42 KB

F004-P001-P687-Run Unit Test in your build.md

File metadata and controls

30 lines (24 loc) · 1.42 KB
code effort bonus required type
A5L9JKJZ
15
false
true
Product Backlog Item

Run Unit Test in your build

Description

Make sure that your app still works after every check-in and build using VSTS. Find problems earlier by running tests automatically with each build.

When your build is done, you can review your test results to start resolving the problems that you find.

Achievement

In this exercise you will add running unit tests to your VSTS build. A good continuous integration process includes running tests to validate that the code always is in good shape. With code coverage data you can also monitor the trend to ensure that the developers keep adding tests in proportion to added code.

  • Configure your build to run unit tests and collect code coverage
  • Run a build and inspect the test run information

Acceptance Criteria

  • The build definition contains steps to run unit tests and collect code coverage
  • A build has successfully been completed with unit test and code coverage metrics
  • Test results has been reviewed

Links