Skip to content

Latest commit

 

History

History
35 lines (19 loc) · 1.62 KB

IntegrationTests.md

File metadata and controls

35 lines (19 loc) · 1.62 KB

Introduction

This project contains integration tests to ensure the correct functioning of various components of the system using EF Core. The tests cover operations such as adding, deleting, and updating product entities.

Tools Used

  • Shouldly
    • An assertion library that improves the readability and understandability of tests.
  • xUnit
    • A unit testing framework for .NET.

Code Structure

  • This base class is used for initial setup and creating instances of the in-memory database.
  • This class includes tests for adding products to the database.
  • This class includes tests for deleting products from the database.
  • This class includes tests for updating products in the database.

Conclusion

This documentation helps you understand the structure and methods of executing integration tests in a project using EF Core. These tests cover operations such as adding, deleting, and updating product entities, utilizing an in-memory database for fast and independent execution from the environment.