Summary

Completed

Great work. In this module, you added unit tests and code coverage to the build pipeline. You set up dashboard widgets so that others can easily track your improvements. You also fixed a build break before it could reach anyone else.

Defining build tasks locally first helps you understand and verify the process before you add build tasks to your pipeline.

Remember, the process you followed was specific to .NET applications. The tools and tasks that you use depend on the programming language and frameworks that you use to build your applications.

Learn more

In this module, you used the DotNetCoreCLI@2 task to run unit tests through the dotnet test command. If you use Visual Studio to run your tests, you can use the Visual Studio Test task in your build pipeline.

If you're interested in unit testing .NET applications, here are some more resources:

Here's more information about how to analyze your test results: