Adding integration tests

Integration tests are a logical extension to unit tests. They test the integration between multiple technical components within your applications in a real environment with access to external data sources (such as Databases, Web Services, and Caches).

The goal of this type of test is to ensure that everything is working well together and providing the expected functionalities when combining the various technical components together for creating application behavior.

Furthermore, integration tests should always have clean-up steps, so that they can run repeatedly without error and will not leave any artifacts behind in databases or file systems. In the following example, you will understand how to apply integration ...

Get Learning ASP.NET Core 2.0 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.