Re: v0.3 [Was: CPAN Upload: R/RB/RBS/Test-Differences-0.2.tar.gz]

2001-12-19 Thread Barrie Slaymaker
On Mon, Dec 17, 2001 at 04:10:30PM +0900, Tatsuhiko Miyagawa wrote: On Sat, 15 Dec 2001 09:10:33 -0500 Barrie Slaymaker [EMAIL PROTECTED] wrote: Now I see what you're after with the -M approach, thanks for the example. Cool. I can understand that :) since CPAN is/seems a

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 so:

Re: Test::Builder: Multiple test libraries in one test.

2001-12-19 Thread Kirrily Robert
In perl.qa, you wrote: Candidates for this sort of thing would be CGI::Test, Test::Cmd, Test::Unit, Test::Mail and ExtUtils::TBone. And, of course, Barrie's Test::Differences. Actually, Test::Mail doesn't work like that. It's more or less a wrapper around Test::More that handles incoming

Re: is() with arbitrary comparisions

2001-12-19 Thread Kirrily Robert
In perl.qa, you wrote: I think I have a solution to the rigidity of is(). ie. something with the diagnostic output of is(), but the flexibility of ok(). It all makes sense, so what I really need is a better name. How about: compare($foo, =, $bar) K. -- Kirrily 'Skud' Robert - [EMAIL

Re: is() with arbitrary comparisions

2001-12-19 Thread chromatic
On Wed, 19 Dec 2001 10:04:17 -0700, Tels wrote: First, ok() is no no longer ok(), but is now is(), because ok() is no longer ok to use with ok($this,$that); but is() is ok with $that. And then there is isnt(), isn't it? Not to speak of the use of can_ok(), which you can use, ok? isnt() $that

[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,

Re: is() with arbitrary comparisions

2001-12-19 Thread Michael G Schwern
On Tue, Dec 11, 2001 at 01:52:12PM -0500, Kirrily Robert wrote: Are we doing the time warp again, or are the Huskies just tired of pulling the packets across the border? How about: compare($foo, =, $bar) cmp_ok(). Close. -- Michael G. Schwern [EMAIL PROTECTED]