hellboy
hellboy

Reputation: 1618

.NET CF parametrized tests

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

Microsoft.VisualStudio.SmartDevice.UnitTestFramework

or

NUnitLite

How can I better implement it?

Upvotes: 0

Views: 53

Answers (1)

Anders Gustafsson
Anders Gustafsson

Reputation: 15971

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

Upvotes: 2

Related Questions