.NET CF parametrized tests
-
25-06-2021 - |
Question
Is there possible to create parametrized tests (as in PHPUnit) in
Microsoft.VisualStudio.SmartDevice.UnitTestFramework
or
NUnitLite
How can I better implement it?
Solution
I downloaded the latest nunitlite libraries from here and examined the code of the netcf-2.0 and netcf-3.5 assemblies using a decompiler.
From what I can see these assemblies contain several attributes suitable for parameterized unit testing, such as [TestCase], [TestCaseSource], [Range] and [Random].
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow