The Best Way To Write Parameterized Tests In .NET Using xUnit

Published: 05 May 2023
on channel: Milan Jovanović
15,141
580

☄️ 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:   / milanjovanovic  

One of the most popular testing libraries in .NET is xUnit. It offers a rich set of features, and parameterized testing is a walk in the park.

I'll introduce you to data-driven testing with xUnit:
- InlineData
- MemberData
- ClassData + TheoryData

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

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

Subscribe for more:
   / @milanjovanovictech  

Chapters
0:00 What are we testing?
0:39 Writing xUnit tests with Fact
3:24 Parameterized tests with InlineData
5:07 Parameterized tests with MemberData
8:38 Parameterized tests with ClassData + TheoryData


Watch video The Best Way To Write Parameterized Tests In .NET Using xUnit online, duration hours minute second in high quality that is uploaded to the channel Milan Jovanović 05 May 2023. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 15,141 times and liked it 580 visitors.