ASP.NET Monsters #84: Integration Testing with Entity Framework Core

Play ASP.NET Monsters #84: Integration Testing with Entity Framework Core

Description

Entity Framework Core makes it easy to write tests that execute against an in-memory store but sometimes we want to actually run our tests against a real relational database. In this episode, Monster Dave looks at how to create an integration test that runs against a real SQL Server database.

Blog Post
GitHub Repo

Follow @aspnetmonsters

Embed

Download

The Discussion

  • User profile image
    Janisku7

    there could be how scary that monster is too?

  • User profile image
    Programazing

    This is exactly what I've been looking for. Thank you!

    Everywhere I looked people were suggesting in-memory or using a mocking framework but I figured there had to be an easier way to test my database using my own DB context.

    I'd also love a sticker if you're still giving them away.

Conversation locked

This conversation has been locked by the site admins. No new comments can be made.