Range and Value Attribute appear to be broken

Bug #1223166 reported by Tyrel Alastair Hunter
6
This bug affects 1 person
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.

Revision history for this message
Tyrel Alastair Hunter (ialastairhunter) wrote :

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.

Changed in nunitlite:
status: New → Incomplete
assignee: nobody → Tyrel Alastair Hunter (ialastairhunter)
Revision history for this message
Tyrel Alastair Hunter (ialastairhunter) wrote :

Closing this issue:

This issue turned out to be nothing more than a corrupt download of nunitlite. The resolution was to re download and change the references.

Changed in nunitlite:
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.