The Complete Guide to Functional Testing in ASP.NET Core (End-to-End Testing)

Описание к видео The Complete Guide to Functional Testing in ASP.NET Core (End-to-End Testing)

☄️ Master the Modular Monolith Architecture: https://bit.ly/3SXlzSt
📌 Accelerate your Clean Architecture skills: https://bit.ly/3PupkOJ
🚀 Support me on Patreon to access the source code:   / milanjovanovicc  

Functional testing is a testing approach that tests your system functionality from a client's perspective. It's also called End-to-End (E2E) testing. In a typical ASP.NET Core APi, functional testing involves calling the API endpoints. You also want to use real external service to make your tests mimic a production environment. Docker is an excellent tool for creating throwaway databases for your functional tests. And you can make it even better with the Testconatiners library. It allows you to create throwaway docker containers for functional testing. I'll show you how to implement functional testing in this video.

Check out my courses: https://bit.ly/3PupkOJ

Testcontainers - Integration Testing Using Docker In .NET
https://www.milanjovanovic.tech/blog/...

Join my weekly .NET newsletter:
https://www.milanjovanovic.tech

Read my Blog here:
https://www.milanjovanovic.tech/blog

Chapters
0:00 What are Functional Tests?
1:46 Installing TestContainers and Testing packages
2:30 Creating a custom WebApplicationFactory
6:08 Class fixture to share context between tests
6:56 Writing Functional Tests in ASP.NET Core

Комментарии

Информация по комментариям в разработке