Back to Browse

.NET Core Integration Testing Basics

6.0K views
May 28, 2023
14:41

✅ Use MREADY20 to get 20% off the brand new "From ground zero - Microservices ready Architecture" Course : https://vasiliioleinic.com/ ✅ Become a Patreon and get access to the source code: https://www.patreon.com/OleinicVasilii ✅ Free Detailed design newsletter: (https://voleinic.substack.com/) In this video we will cover following topics: 1. Basic setup you need to run an integration test 2. What is and how to use WebApplicationFactory 3. Creating a basic test 4. Cleaning up the test data after a successful test run 0:00 Intro & Basic Setup 4:30 Writing our first test 8:50 The problem with left over data 12:50 Testing our problems 14:17 Outro Things that were modified from the previous video (for minimal API course) 1. Rename of the project from HabitTrackerAPI to HabitTracker.Api 2. Solution was moved to root folder 3. src and tests folders were added. 4. Create endpoint line 79 was added.

Download

0 formats

No download links available.

.NET Core Integration Testing Basics | NatokHD