nunit-core team mailing list archive
-
nunit-core team
-
Mailing list archive
-
Message #00979
[Bug 629496] Re: Extension of Range and Random
Oh, one I have forgotten:
DateTime Random (DateTime, DateTime, TimeSpan, count)
--
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
References