Running ASP.NET NUnit Tests in Azure Build Pipeline and Publishing Results to Sonar Cloud.

Running ASP.NET NUnit Tests in Azure Build Pipeline and Publishing Results to Sonar Cloud.

At the end of this, you will be able to run your ASP.NET NUnit tests in Azure DevOps build pipeline and publish The results to Sonar Cloud to check the test coverage and code coverage.

Recently I had to spend a large amount of time on DevOps and I got stuck in integrating azure build pipeline, NUnit tests, and sonar cloud together. After some digging, I came up with a complete solution to run NUnit tests on azure build pipeline, generate test results, and publish them to the sonar cloud dashboard. So I decided to share it with you as well. At the end of this, you will be able to run your ASP.NET NUnit tests in Azure DevOps build pipeline and publish The results to Sonar Cloud to check the test coverage and code coverage.

sonarcloud unit-testing pipeline azure-devops nunit testing

What is Geek Coin

What is GeekCash, Geek Token

Best Visual Studio Code Themes of 2021

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

Azure DevOps Pipelines: Multi-Stage Pipelines

The last couple of posts have been dealing with Release managed from the Releases area under Azure Pipelines. This week we are going to take what we were doing.

Unit testing Azure DevOps Extensions

5 challenges and how to solve them. In my last project we faced the challenge to unit test Azure DevOps UI Extensions based on Azure DevOps React-based UI.

Use Azure Static Web Apps with Azure DevOps pipelines

Use Azure Static Web Apps with Azure DevOps pipelines. Azure Static Web Apps now provides Azure DevOps support. If you have a repository in Azure DevOps, you can wire up an Azure Pipelines YAML file that builds and deploys your app to Azure Static Web Apps.

Software Testing 101: Regression Tests, Unit Tests, Integration Tests

How do scientists demonstrate that a drug or vaccine is effective? Putting it to the test. It's your only choice. And, if you're reasonable, you'd never use medications that haven't been thoroughly tested. So, why don't you test software as thoroughly as you should?

Azure DevOps Multi-Stage Pipelines: Require Stage Approval

In last week’s post, we covered taking our existing build pipeline and making it a multi-stage Pipeline with a build stage and a deploy stage.