From the course: Azure Microservices with .NET Core for Developers
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Microservices unit tests - Azure Tutorial
From the course: Azure Microservices with .NET Core for Developers
Microservices unit tests
- [Instructor] Microservices will do more harm than good if you don't have a DevOps culture in your organization. DevOps is a union of people, processes, and technology to provide value to customers continually. One of the most significant premises in DevOps is the automation of processes. The automatic execution of unit tests is just one example of process automation. The purpose of a unit test is to validate that each unit of the system has a correct behavior. Let's create a new project in the solution based on this xUnit test project template. There are different testing frameworks for .NET Core. In this case, I'm going to use xUnit because it's modern and very easy to use. Let's name this Ecommerce.Api.Products.Tests. One of the essential parts before sitting to write UnitTest is to define what we're going to test, and what not. There's even a code coverage metric that surfaces how much of your code is being touched by…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
(Locked)
Microservices unit tests10m 30s
-
(Locked)
Improving unit tests3m 12s
-
(Locked)
Creating an Azure DevOps project3m 32s
-
(Locked)
Configuring the build pipeline3m 57s
-
(Locked)
Release pipelines in Azure DevOps2m 4s
-
(Locked)
Challenge: Implementing a build pipeline for your microservices55s
-
(Locked)
Solution: Implementing a build pipeline for your microservices2m 11s
-
(Locked)
-
-
-