Skip to content

Latest commit

 

History

History
6 lines (4 loc) · 375 Bytes

File metadata and controls

6 lines (4 loc) · 375 Bytes

InMemoryDatabase

Source code accompanying the video https://youtu.be/JKytAdsWaQs

Writing a mock repository for unit testing can require a large amount of coding that simply duplicates the features of a real database. Nowadays, the Entity Framework Core In-Memory database does the work for you.

To create the database, run update-database on the Package Manager console.