Re: Comment about BAIL_OUT

2007-01-04 Thread Joshua ben Jore
On 1/4/07, jerry gay <[EMAIL PROTECTED]> wrote: On 1/4/07, Andy Lester <[EMAIL PROTECTED]> wrote: > > On Jan 4, 2007, at 11:21 PM, Eric Wilhelm wrote: > > >> No. You either have tests that are ordered, or you don't. > > > > Stated as if it were some sort of immutable law of the universe! > > It

Re: Comment about BAIL_OUT

2007-01-04 Thread jerry gay
On 1/4/07, Andy Lester <[EMAIL PROTECTED]> wrote: On Jan 4, 2007, at 11:21 PM, Eric Wilhelm wrote: >> No. You either have tests that are ordered, or you don't. > > Stated as if it were some sort of immutable law of the universe! It is as far as Test::Harness goes. Test::Harness doesn't have

Re: Comment about BAIL_OUT

2007-01-04 Thread Andy Lester
On Jan 4, 2007, at 11:21 PM, Eric Wilhelm wrote: No. You either have tests that are ordered, or you don't. Stated as if it were some sort of immutable law of the universe! It is as far as Test::Harness goes. Test::Harness doesn't have any sort of idea of what connects tests together.

Re: Comment about BAIL_OUT

2007-01-04 Thread Eric Wilhelm
# from Andy Lester # on Thursday 04 January 2007 06:25 pm: >On Jan 4, 2007, at 8:17 PM, Eric Wilhelm wrote: >> Is it possible to shuffle all but the first tests? > >No. You either have tests that are ordered, or you don't. Stated as if it were some sort of immutable law of the universe! My poi

Re: Comment about BAIL_OUT

2007-01-04 Thread Greg Sabino Mullane
On Thu, 2007-01-04 at 13:34 -0800, Ovid wrote: > I guess the reason I have never used BAIL_OUT is because if I have a > bunch of tests failing, they fail quickly and I don't have to wait for > them :) I suppose it's not that big of a deal, but I noticed it this > evening and thought I would toss i

Re: Comment about BAIL_OUT

2007-01-04 Thread Ricardo SIGNES
* Ovid <[EMAIL PROTECTED]> [2007-01-04T16:34:31] > I guess the reason I have never used BAIL_OUT is because if I have a > bunch of tests failing, they fail quickly and I don't have to wait for > them :) I suppose it's not that big of a deal, but I noticed it this > evening and thought I would toss

Re: Comment about BAIL_OUT

2007-01-04 Thread Andy Lester
On Jan 4, 2007, at 8:17 PM, Eric Wilhelm wrote: # from Ovid # on Thursday 04 January 2007 01:34 pm: However, if you use the '-s' switch to shuffle your tests and bailout is not first, then some tests will run until the BAIL_OUT is hit. This seems to violate the principle that tests should be

Re: Comment about BAIL_OUT

2007-01-04 Thread Eric Wilhelm
# from Ovid # on Thursday 04 January 2007 01:34 pm: >However, if you use the '-s' switch to shuffle your tests and bailout >is not first, then some tests will run until the BAIL_OUT is hit. >  This seems to violate the principle that tests should be able to run > in any order without dependencies.

Comment about BAIL_OUT

2007-01-04 Thread Ovid
>From the docs: BAIL_OUT BAIL_OUT($reason); Indicates to the harness that things are going so badly all testing should terminate. This includes the running any additional test scripts. This is typically used when testing cannot continue such as a crit- ical module fail

Fwd: Re: "Really" Test Anything

2007-01-04 Thread Ovid
Whoops. Forgot to send this back to the list. --- Ovid <[EMAIL PROTECTED]> wrote: > Date: Thu, 4 Jan 2007 02:52:38 -0800 (PST) > From: Ovid <[EMAIL PROTECTED]> > Subject: Re: "Really" Test Anything > To: Adrian Howard <[EMAIL PROTECTED]> > > --- Adrian Howard <[EMAIL PROTECTED]> wrote: > > > I

Re: "Really" Test Anything

2007-01-04 Thread Adrian Howard
On 2 Jan 2007, at 11:07, Ovid wrote: [snip] I'm planning, within the next couple of weeks or so, to release a new version of TAPx::Parser. Amongst other things, I have two test harnesses now included with it (one is a subclass of the other which allows test output to be colorized). Along with th