Re: rfc on Test::Functional (a new testing module)

2009-07-07 Thread Michael G Schwern
Erik Osheim wrote: > On Tue, Jul 07, 2009 at 01:42:23PM -0700, Michael G Schwern wrote: >> At best you have the ability to group statements together into a test, but I >> already have that without any intervening pseudo-block to get in the way of >> debugging. > > Do you not have problems with tes

Re: rfc on Test::Functional (a new testing module)

2009-07-07 Thread Erik Osheim
On Tue, Jul 07, 2009 at 01:42:23PM -0700, Michael G Schwern wrote: > At best you have the ability to group statements together into a test, but I > already have that without any intervening pseudo-block to get in the way of > debugging. Do you not have problems with tests dying? I may be dealing w

Re: rfc on Test::Functional (a new testing module)

2009-07-07 Thread Michael G Schwern
Adrian Howard wrote: > 2) Much of the value from Perl's test frameworks come from the stupid > number of useful testing modules that work happily with each other. I > can just pick Test::WWW::Mechanise (or whatever) off the shelf and use > it with the rest of the testing framework. > > It's going

Re: Test module for tests in Perl module distro

2009-07-07 Thread Michael G Schwern
Mark Morgan wrote: > [1] Test::Class is my preferred testing package for work; I don't use > it for stuff destined for CPAN due to adding an extra dependancy. > *sigh* Your CPAN modules already depend on things like Moose and Hook::LexWrap and XML::Parser. Leaving out Test::Class at that point is

Re: rfc on Test::Functional (a new testing module)

2009-07-07 Thread Steffen Schwigon
Erik Osheim writes: > On Tue, Jul 07, 2009 at 10:10:19AM +0200, Steffen Schwigon wrote: >> Maybe it's not the latest version you attached, I think it's only the >> skeleton from module::starter. > > Well, I suppose it's better that I sent the wrong tarball here, rather > than uploading it to CPAN,

Re: rfc on Test::Functional (a new testing module)

2009-07-07 Thread Adrian Howard
On 7 Jul 2009, at 15:47, Erik Osheim wrote: On Tue, Jul 07, 2009 at 10:10:19AM +0200, Steffen Schwigon wrote: Maybe it's not the latest version you attached, I think it's only the skeleton from module::starter. Well, I suppose it's better that I sent the wrong tarball here, rather than uploa

Re: rfc on Test::Functional (a new testing module)

2009-07-07 Thread David E. Wheeler
On Jul 7, 2009, at 7:47 AM, Erik Osheim wrote: Well, I suppose it's better that I sent the wrong tarball here, rather than uploading it to CPAN, but it's still embarrassing. Anyway, I created a new tarball (using ./Build dist; thanks for that tip) and am attaching it. Looks interesting. I'm n

Re: rfc on Test::Functional (a new testing module)

2009-07-07 Thread Erik Osheim
On Tue, Jul 07, 2009 at 10:10:19AM +0200, Steffen Schwigon wrote: > Maybe it's not the latest version you attached, I think it's only the > skeleton from module::starter. Well, I suppose it's better that I sent the wrong tarball here, rather than uploading it to CPAN, but it's still embarrassing.

Re: Test module for tests in Perl module distro

2009-07-07 Thread Mark Morgan
On Tue, Jul 7, 2009 at 3:15 AM, Michael G Schwern wrote: > use lib 't/lib'; > chdir 't'; > require Some::Module::In::t::lib; > > lib.pm does not make the directory absolute, so it leaves your program > vulnerable to the above problem.  Its rare you'd have to require instead of > use, some load orde

Re: rfc on Test::Functional (a new testing module)

2009-07-07 Thread Steffen Schwigon
Erik Osheim writes: > Greetings! > > This email is to announce a new testing framework that I wrote (based > on Test::Builder), which I have tentatively called Test::Functional (as > in functional programming). Before finalizing it and uploading it to > CPAN and I figured I'd email you folks to ge