NUnit is one of the many open source testing frameworks popular with cross-platform developers. In this recipe, we'll learn how easy it is to create a pipeline for NUnit-based tests and publish the test execution results in Azure DevOps Server.Â
Running NUnit tests using Azure Pipelines
Getting ready
In this section, we'll use the .NET CLI to create a new solution and a new class library project, and install the NUnit test template.
These are the prerequisites:
- .NET Core 2.1 SDK or later versions
- A text editor or code editor of your choice
Follow these steps:
- Launch Command Prompt and create a new folder called ContinuousTesting:
mkdir ContinuousTesting
cd ContinuousTesting
- Create a new solution:
dotnet...