[ANNOUNCE] Test::Simple/More/Builder 0.43

2002-04-11 Thread Michael G Schwern
http://www.pobox.com/~schwern/src/Test-Simple-0.43.tar.gz 0.43 Thu Apr 11 22:55:23 EDT 2002 - Adrian Howard added TB->maybe_regex() - Adding Mark Fowler's suggestion to make diag() return false. - TB->current_test() still not working when no tests were run via TB itself.

Re: Test::Exception... comments?

2002-04-11 Thread Adrian Howard
on 10/4/02 11:10 pm, Michael G Schwern at [EMAIL PROTECTED] wrote: > On Wed, Apr 10, 2002 at 10:57:09PM +0100, Adrian Howard wrote: >> Hmmm... All seems sensible. Patch attached for Builder.pm that adds a >> _may_be_regex method. Okay? > > Except it should be public (if Test::Exception wants to

Re: Starting with a fresh sandbox

2002-04-11 Thread Andy Lester
> Teach the other folks how to test. :) The journey of a thousand miles begins with a single step, and in this case the single step is making it terribly obvious to me as the lead tech that their code doesn't compile properly. :-) > sub test { > return unless /\.pm$/; > print

Re: Starting with a fresh sandbox

2002-04-11 Thread Michael G Schwern
On Thu, Apr 11, 2002 at 02:49:30PM -0500, Andy Lester wrote: > > One simple way around this is to use SelfTest or Test::Inline and > > throw in at the top of each of your modules: > > > > =for testing > > use_ok('My::Self'); > > > > and then just run the tests in each self-testing module i

[ANNOUNCE] Test::Inline 0.15

2002-04-11 Thread Michael G Schwern
http://www.pobox.com/~schwern/src/Test-Inline-0.15.tar.gz One bug fix, one hack. First, the line numbers reported by the tests are now correct. So when it says the test failed on line 198, the test failed on line 198 and not 197. The way I did it is sort of nasty, but it works. Second, I'm ha

Re: Starting with a fresh sandbox

2002-04-11 Thread Andy Lester
> One simple way around this is to use SelfTest or Test::Inline and > throw in at the top of each of your modules: > > =for testing > use_ok('My::Self'); > > and then just run the tests in each self-testing module in turn. The bummer is that I'm not the only programmer, and I've had probl

Re: Starting with a fresh sandbox

2002-04-11 Thread Michael G Schwern
On Thu, Apr 11, 2002 at 12:16:27PM -0500, Andy Lester wrote: > > I'm using Test::More for doing infrastructure testing throughout my > project. One of the tests I'm doing is making sure that every .pm file is > able to load on its own, since I've had problems where the .pm had > dependencies on

Starting with a fresh sandbox

2002-04-11 Thread Andy Lester
I'm using Test::More for doing infrastructure testing throughout my project. One of the tests I'm doing is making sure that every .pm file is able to load on its own, since I've had problems where the .pm had dependencies on other modules, but so long as the calling program included those module