.NET Aspire is great for building distributed applications, defining all the resources, how they reference each other, and starting all the containers and projects. But integration testing can still be tricky as you need that whole environment setup as well. Don't worry, .NET Aspire is here to help, let's take a look at how to use the testing features it provides.
Chapters:
00:00 - Intro
01:00 - App walkthrough & identify integration test opportunities
02:24 - Creating a .NET Aspire test project
03:30 - Writing the web frontend test
07:25 - Running the frontend test
08:00 - Writing and running the backend test
11:00 - Wrap-up
Resources:
Blog: https://devblogs.microsoft.com/dotnet/getting-started-with-testing-and-dotnet-aspire/
.NET Aspire: https://learn.microsoft.com/dotnet/aspire/
.NET Aspire Testing: https://learn.microsoft.com/dotnet/aspire/fundamentals/testing?pivots=mstest
MS Test Overview: https://learn.microsoft.com/en-us/dotnet/core/testing/unit-testing-mstest-intro
Connect with .NET:
Blog: https://aka.ms/dotnet/blog
Twitter: https://aka.ms/dotnet/twitter
TikTok: https://aka.ms/dotnet/tiktok
Mastodon: https://aka.ms/dotnet/mastodon
LinkedIn: https://aka.ms/dotnet/linkedin
Facebook: https://aka.ms/dotnet/facebook
Docs: https://learn.microsoft.com/dotnet
Forums: https://aka.ms/dotnet/forums
🙋♀️Q&A: https://aka.ms/dotnet-qa
👨🎓Microsoft Learn: https://aka.ms/learndotnet
#dotnet #dotnetaspire