53GB

Integration Testing ASP.NET Core 6 WebAPI Applications



Building backend APIs has become even simpler with ASP.NET Core 6. But what about testing? This video teaches a simple way to create integration tests for ASP.NET Core 6 WebAPI applications.

In this video, we will test the most simplistic API that youโ€™ll ever see.

If you want to learn more about this simple style to build WebAPIs in .NET 6 called MinimalAPIs, check out the Introduction to Minimal APIs video linked in the video description.

00:00 Introduction
00:30 The WebAPI project
01:05 Creating the Test Project
01:42 Setting up the Test Project
03:16 Implementing the First Test
06:00 Implementing the Second Test
07:43 Whatโ€™s Next?

๐Ÿ“Œ Source Code:
https://github.com/claudiobernasconi/MinimalAPIDemo

๐Ÿ“Œ Introduction To Minimal APIs in .NET 6:
https://youtu.be/lSlPMDqVhFk

๐Ÿ”ฅ The FREE Blazor Crash Course:
https://www.youtube.com/watch?v=89Klc6WHElw&list=PLwISgxnkpZGL_LhTQCWwp-WCzupv7lcp0

๐Ÿ“Œ C# Programming Playlist:
https://www.youtube.com/watch?v=dKBuvdGsYYc&list=PLwISgxnkpZGIrkQGwOj6kKXLT8CAp9Gct

๐Ÿ“Œ Blazor Playlist:
https://www.youtube.com/watch?v=iS1W1DJ3nEQ&list=PLwISgxnkpZGITT6pELfCeQ6qK0G3ujldZ

๐Ÿ“ŒIntegration tests in ASP.NET Core (MSDN):
https://docs.microsoft.com/en-us/aspnet/core/test/integration-tests

โœ… SUBSCRIBE FOR MORE VIDEOS
Subscribe: ๐Ÿ”” https://claudiobernasconi.ch/Subscribe

๐Ÿš€ CONNECT & SUPPORT
Patreon: https://patreon.com/claudiobernasconi
Twitter: https://www.twitter.com/CHBernasconiC
Blog: https://www.claudiobernasconi.ch

CREDITS
๐ŸŽต https://www.bensound.com/

Exit mobile version