Passing parameters to xUnit net tests with the ClassData attribute [GCAST 113]
2.7 هزار بار بازدید -
3 سال پیش
-
The [ClassData] attribute of xUnit.net
The [ClassData] attribute of xUnit.net allows you to store a collection of data parameters in a single class and pass that class to a single test method, allowing it to run multiple tests with different values.
You can find the source code at https://github.com/DavidGiard/XUnitDemo
You can find the source code at https://github.com/DavidGiard/XUnitDemo
3 سال پیش
در تاریخ 1400/04/06 منتشر شده
است.
2,724
بـار بازدید شده