nunit-core team mailing list archive
-
nunit-core team
-
Mailing list archive
-
Message #00978
[Bug 629496] [NEW] Extension of Range and Random
Public bug reported:
Having parameterized tests is a very nice feature. Some additional
possibilities for the attributes are needed:
Range with DateTime and Step as TimeSpan: Range (DateTime, DateTime, TimeSpan)
Range (long, long) without Step (implicitly 1) - or does this make conflicts with Range (int, int)?
unsigned variants
Range (Type sourceType, string sourceName, int start, int end) might also be nice. Than it is easy to use the same data for multiple tests, if sourceName implements IList. (like ValueSourceAttribute)
Range (string sourceName, int start, int end) see above
Random for long and float
unsigned variants
** Affects: nunitv2
Importance: Undecided
Status: New
** Tags: attribute feature random range
--
Extension of Range and Random
https://bugs.launchpad.net/bugs/629496
You received this bug notification because you are a member of NUnit
Developers, which is subscribed to NUnit V2.
Status in NUnit V2 Test Framework: New
Bug description:
Having parameterized tests is a very nice feature. Some additional possibilities for the attributes are needed:
Range with DateTime and Step as TimeSpan: Range (DateTime, DateTime, TimeSpan)
Range (long, long) without Step (implicitly 1) - or does this make conflicts with Range (int, int)?
unsigned variants
Range (Type sourceType, string sourceName, int start, int end) might also be nice. Than it is easy to use the same data for multiple tests, if sourceName implements IList. (like ValueSourceAttribute)
Range (string sourceName, int start, int end) see above
Random for long and float
unsigned variants
Follow ups
References