Integration Testing of Entity Framework Applications

Entity Framework is the best way to create a data access layer in .NET. This course will show you how to test that data access layer, whether you are using EF6 or EF Core.
Course info
Rating
(39)
Level
Intermediate
Updated
May 11, 2017
Duration
2h 22m
Table of contents
Course Overview
The Importance of Testing the Data Access Layer
Deploying a Database to the Test Environment
Isolating Integration Tests
When and How to Unit Test
Structuring a Readable Test
Description
Course info
Rating
(39)
Level
Intermediate
Updated
May 11, 2017
Duration
2h 22m
Description

Having a good integration test suite is your greatest asset. In this course, Integration Testing of Entity Framework Applications, you'll learn that a good integration test suite is the best way to ensure the quality of your Entity Framework application. First, you'll set up a Continuous Integration server to rebuild a database and run all integration tests on every checkin. Next, you'll keep your test readable and resilient to change, so that they help you implement new features rather than hold you back. Finally, you'll find the balance between unit tests and integration tests so that you use the best technique in every case. After this course, you'll know that by investing in a quality test suite you'll increase both velocity and quality.

About the author
About the author

Mathematician and software developer, Michael L Perry applies formal proof to creating reliable software. He has developed a method starting from the works of the greats (Meyer, Rumbaugh, Knuth), and embodied it in his open-source frameworks (Update Controls and Correspondence).

More from the author
Entity Framework Migrations for Large Teams
Intermediate
1h 51m
Aug 16, 2016
More courses by Michael Perry
Section Introduction Transcripts
Section Introduction Transcripts

Course Overview
Hello, this is Michael L. Perry, and welcome to Integration Testing of Entity Framework Applications. I lead a team out of the Dallas office of Improving and Agile Consultancy, that builds web applications using entity framework. We've found that a good integration test suite is our greatest asset. I'd like to show you exactly how we built it, and how an integration test suite can give your team more confidence. You may have heard advice that you should spend more time on unit tests than integration tests, that unit tests would be less costly, less prone to breaking, and provide more value. In truth, we have found that the opposite is true. While we do invest in unit test, we've found that our integration test suite gives us a bigger return on our testing investment. In this course, I'll show you how integration tests pay off, and exactly how we went about constructing them. The major areas that we'll cover are continuous integration, test isolation, domain driven design, and readability. When you're done, you will have the skills to build a valuable integration test suite for your EF6, or EF Core application, but this course is not an introduction to entity framework. Before you begin, you should understand code First, fluent configuration, and migrations. Now hopefully you'll join me and follow along with my team as we build integration tests for entity framework applications, at Pluralsight.