Testing with EF Core

by Kevin Dockx

When creating an application that uses EF Core you’ll quickly wonder how you can test your code. In this course you’ll learn about strategies that can help with testing your code by using in-memory database providers like InMemory and SQLite.

What you'll learn

In this course, Testing with EF Core, you will learn how EF Core can help with testing code that relies on calls into your database. First, you will learn about different ways of testing your application. Next, you will discover how in-memory database providers like InMemory and SQLite can help with improving your tests. Finally, you will explore how to isolate your tests and how to enhance Test Explorer with logs coming from EF Core. When you're finished with this course, you will have the skills and knowledge of EF Core needed to improve your tests and thus the reliability of your code.

About the author

Kevin Dockx is a freelance solution architect (mobile/web), author & consultant, living in Antwerp (Belgium).

Ready to upskill? Get started