Comparing the use of parameterized tests across various unit tests frameworks
In this demo, i m comparing the use of parameterized tests across various unit tests frameworks.
MSTest | NUnit | XUnit |
---|---|---|
DataTestMethod | Test | Theory |
DataRow | TestCase | InlineData |
DynamicData | TestCaseData, TestCaseSource | MemberData, ClassData, TheoryData |
Tools
: vs22, net 6.0, mstest, nunit, xunit