hello-shop/tests/HelloShop.ProductService.UnitTests
2024-10-09 20:56:30 +08:00
..
Utilities 订单微服务实体实现 2024-08-29 23:07:14 +08:00
HelloShop.ProductService.UnitTests.csproj 实现事务性发件箱模式 2024-10-09 20:56:30 +08:00
MockProductsControllerTest.cs 使用分布式事件总线异步通信 2024-09-24 22:53:54 +08:00
ProductsControllerTest.cs 使用分布式事件总线异步通信 2024-09-24 22:53:54 +08:00
README.md 零度框架 1.0 版本正式发布,共 184 项改进。 2024-05-31 12:28:02 +08:00

Unit test bast practices

Unit testing best practices with .NET Core and .NET Standard

https://learn.microsoft.com/en-us/dotnet/core/testing/unit-testing-best-practices

Testing without your production database system

https://learn.microsoft.com/en-us/ef/core/testing/testing-without-the-database

Unit test controller logic in ASP.NET Core

https://learn.microsoft.com/en-us/ef/core/testing/testing-without-the-database

Unit and integration tests in Minimal API apps

https://learn.microsoft.com/en-us/aspnet/core/fundamentals/minimal-apis/test-min-api

Integration tests in ASP.NET Core

https://learn.microsoft.com/en-us/aspnet/core/test/integration-tests

Use Moq with xUnit in .NET Core unit tests

https://github.com/devlooped/moq

Test gRPC services in ASP.NET Core

https://learn.microsoft.com/en-us/aspnet/core/grpc/test-services