Easier Unit Tests in C# dotnet With Composition
In this video, we walk through an example of how leveraging composition in your code can dramatically improve your ability to write unit tests. Examples are in C# dotnet.
Want the source for this video? Check it out here:
https://github.com/ncosentino/DevLeader/blob/master/RefactoringCompositionDITesting/RefactoringCompositionDITesting.UrlParsingUnitTests/UrlParsingUnitTests.cs
For more videos on programming with detailed examples, check this out:
https://www.youtube.com/playlist?list=PLzATctVhnsghN6XlmOvRzwh4JSpkRkj2T
Check out more Dev Leader content (including full in-depth articles with source code examples) here:
https://linktr.ee/devleader
Social Media:
YouTube: https://youtube.com/@DevLeader
TikTok: https://www.tiktok.com/@devleader
Blog: https://www.devleader.ca/
GitHub: https://github.com/ncosentino/
Twitch: https://www.twitch.tv/ncosentino
Twitter: https://twitter.com/DevLeaderCa
Facebook: https://www.facebook.com/DevLeaderCa
Instagram: https://www.instagram.com/dev.leader
LinkedIn: https://www.linkedin.com/in/nickcosentino
#dotnet #csharp #tutorial #test #testing #unittesting #composition #xunit
Comments are closed.