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

Milan Jovanović
Milan Jovanović
14.2 هزار بار بازدید - پارسال - ☄️ Master the Modular Monolith
☄️ 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: Patreon: 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
پارسال در تاریخ 1402/02/15 منتشر شده است.
14,284 بـار بازدید شده
... بیشتر