Re: Test::Builder->level

2002-11-13 Thread Adrian Howard
On Wednesday, November 13, 2002, at 08:37 pm, Michael G Schwern wrote: On Tue, Nov 12, 2002 at 04:21:38PM +, Adrian Howard wrote: At YAPC::Europe there was some discussion about Test::Builder->level, $Test::Builder::Level and the fact that they don't really work well as implemented. I kno

Re: Changing T::B behavior (was Re: And for the mod_perl folks... Test::Builder->reset)

2002-11-13 Thread chromatic
On Wed, 13 Nov 2002 15:54:44 +, Michael G Schwern wrote: > The problem there is the case where you want to override behaviors but still > keep state between the two objects. So things like the test counter and > test details would have to be preserved. I guess this is what chromatic was > ta

Changing T::B behavior (was Re: And for the mod_perl folks... Test::Builder->reset)

2002-11-13 Thread Michael G Schwern
On Tue, Nov 12, 2002 at 11:04:53PM +, Adrian Howard wrote: > O! Just had an idea prompted by reset(). How about having > > $builder->push_state; > $builder->pop_state; > > that would store and restore the complete state of the builder object > in a stack? Would make it easier

Re: Test::Builder->level

2002-11-13 Thread Michael G Schwern
On Tue, Nov 12, 2002 at 04:21:38PM +, Adrian Howard wrote: > >At YAPC::Europe there was some discussion about Test::Builder->level, > >$Test::Builder::Level and the fact that they don't really work well as > >implemented. I know we reached some sort of consensus about how to do it > >better, b

Re: Test::Builder->level

2002-11-13 Thread Adrian Howard
On Monday, November 11, 2002, at 04:10 am, Michael G Schwern wrote: At YAPC::Europe there was some discussion about Test::Builder->level, $Test::Builder::Level and the fact that they don't really work well as implemented. I know we reached some sort of consensus about how to do it better, but