Domanda

Is there possible to create parametrized tests (as in PHPUnit) in

Microsoft.VisualStudio.SmartDevice.UnitTestFramework

or

NUnitLite

How can I better implement it?

È stato utile?

Soluzione

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].

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top