Writing Fewer Unit Tests with ASP.NET Core

Submitted by Steve Gordon

Talk Abstract:

Would you like to write fewer unit tests? ASP.NET Core ships with a powerful in-memory integration testing harness which can considerably reduce the need for unit testing. In this session, Steve will describe and demonstrate how to begin writing integration tests for your ASP.NET Core projects.

You'll learn about setting up an integration test project and using the WebApplicationFactory to create a test server and client. Steve will show some examples of common tests you may want to include which verify that your host starts correctly and receives requests.

Testing is a critical process when building quality software. By combining existing unit tests with integration tests you can enhance your web application testing coverage.

This session is intended for ASP.NET Core developers, new to integration testing.

About Steve Gordon

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

Steve is currently developing microservice-based systems and services, using .NET Core and Docker. He enjoys sharing his knowledge through his blog, in videos and by presenting talks at user groups and conferences. Steve is excited to be a part of the .NET community and founded .NET South East, a .NET Meetup group based in Brighton. He enjoys contributing to and maintaining OSS projects. You can find Steve online at his blog and on Twitter as @stevejgordon.