← Back to team overview

nunit-core team mailing list archive

Re: [Bug 628881] Re: Need of Enddate together with Ignore

 

The point of my question was why not just...

TestCase(..., IgnoreReason="xxxxxx", UpTo="1.1.2011"

Having a separate IgnoreReasonUpTo parameter allows setting two reasons, one
of which will be ignored under the current implementation.

Charlie

On Fri, Sep 3, 2010 at 2:44 AM, Rechenelf <628881@xxxxxxxxxxxxxxxxxx> wrote:
> Ignore == Ignore  ;-)
> IgnoreReason == Ignore(reason)   e.x Ignore("Still under construction")
> IgnoreReasonUpto  == Ignore(reason, a date)     e.x Ignore("Only for the big endtest", 1.1.2011)
> IgnoreUpto  == Ignore(a date)     e.x Ignore(1.1.2011)
>
> Ignore with Parameter as Attribute, IgnoreReason and so on as Parameter
> of some Attributes, which must be ignorable (TestCase, ...)
>
> --
> Need of Enddate together with Ignore
> https://bugs.launchpad.net/bugs/628881
> You received this bug notification because you are a member of NUnit
> Developers, which is subscribed to NUnit V2.
>

-- 
Need of Enddate together with Ignore
https://bugs.launchpad.net/bugs/628881
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:
In our framework we have a feature that is very important for us: Ignore can has two parameters description and enddate. When enddate is less then the current date, the test is not longer be igrnored and (normally) displayed as a test with error.

Currently, there is more than one part to change, because Ignore ist also used with TestCase, TestFisture and so on.
Ignore, IgnoreReason, IgnoreUpto, IgnoreReasonUppto will then be needed.





References