-
Book Overview & Buying
-
Table Of Contents
Clean Architecture with .NET
By :
Ensuring the reliability and stability of our application's Infrastructure layer is crucial. To achieve this, we've introduced two dedicated test projects—Infrastructure.UnitTests and Infrastructure.IntegrationTests. These projects are tailored to rigorously test the Infrastructure layer, focusing on core logic and external API integrations.
At a high level, unit tests validate infrastructure components in isolation (without real external dependencies), while integration tests verify that those components work correctly when wired together with real infrastructure, such as databases or external services.
A summary of the two types of tests is provided in the following table:
|
Unit tests |
|
|
Integration tests |
|
By differentiating between unit and integration tests, we aim to comprehensively...