emitting messages in Test::*

2001-12-19 Thread Barrie Slaymaker
I noticed that Test::Builder offers the ability to emit messages with s/^/# /mg, which is very nice. Can/should this capability be exposed via Test::Simple, Test::More, etc? Sometimes it's nice to explain what to do about a test failure that may be an intermittent failure, or to warn that they s

Re: emitting messages in Test::*

2001-12-19 Thread Michael G Schwern
On Wed, Dec 19, 2001 at 07:52:03AM -0500, Barrie Slaymaker wrote: > I noticed that Test::Builder offers the ability to emit messages with > s/^/# /mg, which is very nice. Can/should this capability be exposed > via Test::Simple, Test::More, etc? Its been on the TODO list to toss a diag() into Te

Re: emitting messages in Test::*

2001-12-19 Thread Mark Fowler
On Wed, 19 Dec 2001, Barrie Slaymaker wrote: > I noticed that Test::Builder offers the ability to emit messages with > s/^/# /mg, which is very nice. Can/should this capability be exposed > via Test::Simple, Test::More, etc? Can't you just "use Test::Builder" somewhere in your test script like

[PATCH] Re: emitting messages in Test::*

2001-12-19 Thread chromatic
On Wed, 19 Dec 2001 05:12:05 -0700, Michael G Schwern wrote: > On Wed, Dec 19, 2001 at 07:52:03AM -0500, Barrie Slaymaker wrote: >> I noticed that Test::Builder offers the ability to emit messages with s/^/# >> /mg, which is very nice. Can/should this capability be exposed via >> Test::Simple, T

Re: [PATCH] Re: emitting messages in Test::*

2001-12-19 Thread Michael G Schwern
On Wed, Dec 19, 2001 at 12:20:35PM -0700, chromatic wrote: > Something like this? Something uncannily like this, only without the literal tabs. > diffing against a directory tree is odd... there must be a better > way. I usually just check each individual file into RCS (vc-register-buffer fo

Re: [PATCH] Re: emitting messages in Test::*

2001-12-19 Thread Barrie Slaymaker
On Wed, Dec 19, 2001 at 12:20:35PM -0700, chromatic wrote: > On Wed, 19 Dec 2001 05:12:05 -0700, Michael G Schwern wrote: > > > Its been on the TODO list to toss a diag() into Test::More. > > > > ok( ... ) || diag(...); > > > > for some reason I keep putting it off. > > > > Test::Simple wo

Re: [PATCH] Re: emitting messages in Test::*

2001-12-21 Thread Barrie Slaymaker
On Wed, Dec 19, 2001 at 04:11:00PM -0500, Barrie Slaymaker wrote: > > Looks nice to me (not that I have anything to do with Schwern's modules > :), but I think it needs to be in Test::More instead of Test::Simple. Sorry, misread the patch (gah, need a vacation). - Barrie