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]

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

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 Tels
-BEGIN PGP SIGNED MESSAGE- Moin, On 11-Dec-01 Kirrily Robert tried to scribble about: 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

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

2001-12-19 Thread Michael G Schwern
On Thu, Dec 13, 2001 at 02:07:56PM -0500, Kirrily Robert wrote: Actually, Test::Mail doesn't work like that. It's more or less a wrapper around Test::More that handles incoming email. Doesn't implement any of its own ok()-like routines at all, just makes it easy to use Test::More's routines

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 for

Re: is() with arbitrary comparisions

2001-12-19 Thread Kirrily 'Skud' Robert
On Wed, Dec 19, 2001 at 03:50:12PM -0500, Michael G Schwern wrote: 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)

Untested modules update: The Magic Number is 27

2001-12-19 Thread Michael G Schwern
The good news is lib.t and MM_Unix just went into the core. The even better news is Wolfgang Laun came riding in out of the East and has begun fixing perlcc! He's repairing B::Assembler and B::Disassembler and has written assembler.t And not to break the trend, the Net::Ping CPAN distribution