Extension of Range and Random
Bug #629496 reported by
Rechenelf
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
NUnit Framework |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
[Issue now tracked at https:/
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 ValueSourceAttr
Range (string sourceName, int start, int end) see above
Random for long and float
unsigned variants
Changed in nunit-3.0: | |
status: | New → Triaged |
importance: | Undecided → Wishlist |
description: | updated |
tags: | added: github |
To post a comment you must log in.
Oh, one I have forgotten:
DateTime Random (DateTime, DateTime, TimeSpan, count)