Re: Test::More::todo_some ? (was: Re: Setting TODO by test number)

2004-01-13 Thread Fergal Daly
On Tuesday 13 January 2004 16:41, Elizabeth Mattijsen wrote: > Maybe the first parameter of "todo_some" should also accept a code > reference to a subroutine which, given the other parameters, is > supposed to give the TODO reason? That would make it even more > flexible, I would think. I thin

Re: Test::More::todo_some ? (was: Re: Setting TODO by test number)

2004-01-13 Thread Elizabeth Mattijsen
At 15:56 + 1/13/04, Fergal Daly wrote: On Tue, Jan 13, 2004 at 04:35:21PM +0100, Elizabeth Mattijsen wrote: > In the end I came up with this code. It's pretty simple and straightforward and maybe would be nice to include with Test::More. I definitely have a use for that but basing it on test

Re: Test::More::todo_some ? (was: Re: Setting TODO by test number)

2004-01-13 Thread Fergal Daly
On Tue, Jan 13, 2004 at 04:35:21PM +0100, Elizabeth Mattijsen wrote: > At 16:47 + 1/12/04, Fergal Daly wrote: > >You can just do Test::Builder->new to get the Test::Builder object. It will > >be the same one used by Test::More because it's a singleton. That way you > >should need no patches, >

Test::More::todo_some ? (was: Re: Setting TODO by test number)

2004-01-13 Thread Elizabeth Mattijsen
At 16:47 + 1/12/04, Fergal Daly wrote: You can just do Test::Builder->new to get the Test::Builder object. It will be the same one used by Test::More because it's a singleton. That way you should need no patches, In the end I came up with this code. It's pretty simple and straightforward and

Re: Setting TODO by test number

2004-01-12 Thread Elizabeth Mattijsen
At 16:47 + 1/12/04, Fergal Daly wrote: On Mon, Jan 12, 2004 at 05:26:59PM +0100, Elizabeth Mattijsen wrote: > So, what I'd like to add for myself is something like: > todo_ok( test,{ 1001 => "a b c still fails, wonder why", 2345 => "d e gf to be investigated", > },"ok text" ); > The con

Re: Setting TODO by test number

2004-01-12 Thread Fergal Daly
You can just do Test::Builder->new to get the Test::Builder object. It will be the same one used by Test::More because it's a singleton. That way you should need no patches, F On Mon, Jan 12, 2004 at 05:26:59PM +0100, Elizabeth Mattijsen wrote: > I'm using Test::xxx as a tool for testing the func

Setting TODO by test number

2004-01-12 Thread Elizabeth Mattijsen
I'm using Test::xxx as a tool for testing the functioning of a rather large C program (currently at 112K+ tests). Many of the tests consist of running combinations of parameters in many nested loops. Sometimes some of these tests fail. For example, out of a test-script that has about 8000 tes