سؤال

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

Microsoft.VisualStudio.SmartDevice.UnitTestFramework

or

NUnitLite

How can I better implement it?

هل كانت مفيدة؟

المحلول

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

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top