Range and Value Attribute appear to be broken
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
NUnitLite |
Fix Released
|
Undecided
|
Tyrel Alastair Hunter |
Bug Description
This bug report came in to me from a colleague, I have not had time to verify it as of yet I will try and test it tonight if I can.
Hi Tyrel,
I’ve stumbled across an issue with nunitlite. For some reason Range and Value are not working correctly The first pass-through always runs, however everything after that is ignored.
Example: [Range(0, 12)]
Range 0 will run, but Ranges 1 – 12 will be completely ignored.
[Value(true, false)]
Value True will run, however Value False will be ignored.
I have not made any recent changes other than implementing nunitlite 1.0 Beta 2 and changes solely in a single test. I’ve tried creating new tests, re-adding nunitlite, and for safe measure, restarting the computer. So far the issue has not gone away.
Changed in nunitlite: | |
status: | New → Incomplete |
assignee: | nobody → Tyrel Alastair Hunter (ialastairhunter) |
I tried to reproduce this issue using a new test project and was not able to reproduce this issue. I will contact my colleage and see if we can determine what is causing the issue.