← Back to team overview

nunit-core team mailing list archive

[Bug 629496] Re: Extension of Range and Random

 

Postponed to 3.0

** Project changed: nunitv2 => nunit-3.0

** Tags added: framework
** Tags removed: 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
Core Developers, which is the registrant for NUnit Framework.

Status in NUnit 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