Peace of Mind With .NET Regression Tests Using WebApplicationFactory
Channel: Rowan Lea
Date: 2023-02-13

Add regression tests now, refactoring safely later! Check out today’s video to find out how you can add regression tests to your C# .NET project using a WebApplicationFactory, so you can be certain your code won’t break when you change it in the future.

This video is a bit longer than I’d like to aim for in length, but there’s so many moving parts to what we’re doing that I didn’t want to cut anything important out.

-------------------------------------

What's on the agenda for today?
00:00 Introduction
00:55 Adding a test project
01:14 Web Application Factory
01:50 Adding a test
02:59 Getting our input from Swagger
05:16 The Dark Ages (some extra setup)
05:52 Mocking
11:52 Testing from our pipeline
12:32 Thanks for watching!

-------------------------------------

To see the entire migration series so far:
https://bit.ly/azure-modernisation-playlist

GitHub repo for this video:
https://bit.ly/azure-modernisation-3

GitHub repo for whole series:
https://github.com/rowanlea/RPGModernisationSeries

-------------------------------------

If you need any help with Azure feel free to contact me through YouTube or any of the links below.

My Links:
► Website: https://rowanlea.co.uk/
► GitHub: https://github.com/rowanlea
► LinkedIn: https://www.linkedin.com/in/rowan-lea/
► Twitter: https://twitter.com/RowanLea1

You can also message me personally at: mail@rowanlea.co.uk

-------------------------------------

Join in and don't miss out by subscribing and returning weekly for the freshest and most exciting videos around!

#regression #tests #webapplicationfactory #csharp