Member-only story
.NET Series-2: Adding and Running The “Unit Tests” to the “Build stage” for the .NET Application in the AWS CodePipeline.
We’ll add a “Unit Tests
” to the “Build stage” for the .NET 8.0 the ASP.NET Core project, and run unit tests in the AWS CodePipeline CI/CD Pipeline by Using the AWS CodeBuild. We’ll examine the results of the unit tests in the “Report Group”
tab in the AWS CodeBuild and in the “pipeline logs”
in the AWS CodePipeline.
7 min readMar 3, 2024
Topics we will cover:
1. Adding Unit Tests To Our Build
2. Adding Unit Tests to the .NET Project
3. Adding Unit Testing Reporting to the “buildspec.yml File
4. Pushing the “buildspec.yml” File To The Remote Repository
5. Running Unit Tests In The CI/CD Pipeline
6. Checking The Result of The Unit Tests
7. As a result
8. Next post: “.NET Series-3: Deploying a .NET Application to Linux EC2 By Using AWS CodeDeploy in the AWS CodePipeline”.
9. References