hello-shop/tests/HelloShop.ProductService.UnitTests/README.md

30 lines
868 B
Markdown
Raw Normal View History

# 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