TestCase | NUnit Docs
docs.nunit.org › articles › nunitTestCaseAttribute serves the dual purpose of marking a method with parameters as a test method and providing inline data to be used when invoking that method. Here is an example of a test being run three times, with three different sets of data: [TestCase (12, 3, 4)] [TestCase (12, 2, 6)] [TestCase (12, 4, 3)] public void DivideTest(int n, int ...
NUnit
https://nunit.orgNUnit is a unit-testing framework for all .Net languages. Initially ported from JUnit, the current production release, version 3, has been completely ...