Integration Testing ASP.NET Core Applications: Best Practices

Let's learn about building well-tested ASP.NET Core applications! This course will teach you how to design and develop integration tests that prevent regressions and improve application security and quality.
Course info
Rating
(21)
Level
Intermediate
Updated
Jul 15, 2020
Duration
3h 25m
Table of contents
Course Overview
Introducing ASP.NET Core Integration Tests
Writing Integration Tests for ASP.NET Core Web APIs: Part 1
Applying Test Driven Development (TDD) with Integration Tests
Writing Integration Tests for ASP.NET Core Web APIs: Part 2
Writing Integration Tests for ASP.NET Core UI Apps
Testing Advanced Requirements in ASP.NET Core UI Apps
Description
Course info
Rating
(21)
Level
Intermediate
Updated
Jul 15, 2020
Duration
3h 25m
Description

This course will help you build higher quality web applications. In this course, Integration Testing ASP.NET Core Applications: Best Practices, you’ll learn how to write integration tests for your ASP.NET Core applications which are run using an in-memory test server.

First, you’ll explore the creation of integration test projects for your applications. Next, you’ll discover how to design unit tests which exercise web API projects. Finally, you’ll learn how to test ASP.NET Core UI applications and tackle advanced scenarios such as replacing services with mocks.

When you’re finished with this course, you’ll have the skills and knowledge to apply integration testing to ASP.NET Core applications, needed to rapidly develop robust, high-quality software.

About the author
About the author

Steve Gordon is a Microsoft MVP, senior developer and community lead based in Brighton, UK. He works for Madgex developing and supporting their data products portfolio, built using .NET Core technologies. Steve is passionate about community and all things .NET related, having worked with ASP.NET for over 15 years.

More from the author
Section Introduction Transcripts
Section Introduction Transcripts

Course Overview
Hi, everyone. My name is Steve Gordon and welcome to my course, Integration Testing ASP.NET Core Applications: Best Practices. I'm a Microsoft MVP, a senior developer, and a passionate member of the .NET community. Do you want to develop reliable and robust ASP.NET Core applications? Of course you do, and this is the course for you. This course will get you fully up to speed on building in‑memory integration tests for your web applications executed using the ASP.NET Core test host. Integration tests complement existing unit tests to help you ensure the production of quality software and to avoid regressions before you push to master. Some of the major topics that we'll cover include creating integration test projects, thoroughly testing ASP.NET Core API applications, applying test‑driven development with integration tests, and testing UI applications built using MVC and Razor Pages. At the end of this course, you'll have a complete understanding of designing and developing ASP.NET Core integration tests. You'll be able to apply this knowledge to ensure that you are confident that your own ASP.NET Core applications are reliable and always working correctly. Before undertaking this course, you should be broadly familiar with writing basic C# code and have some experience of building ASP.NET Core applications. I hope you'll join me on this journey to learn about these essential concepts with the Integration Testing ASP.NET Core Applications: Best Practices course at Pluralsight.