Re: T::H 2.38

2003-12-03 Thread Rafael Garcia-Suarez
Andy Lester wrote in perl.qa : >> prove begins with #!/usr/bin/perl and prove-switches.t >> runs it with >> my @actual = qx/$prove -Ifirst -D -I second -Ithird -Tvdb/; >> A $^X should be inserted here. >> (in bleadperl, the shebang line of prove is fixed when installed.) > > What should be in

Re: tesing exceptions of Error.pm

2003-12-03 Thread Fergal Daly
On Tue, Dec 02, 2003 at 10:05:46PM -0800, Michael G Schwern wrote: > Why not? > > catch MyError with { > like( $ex, qr/Bad thing/ ); > }; If there is no exception then then that test won't execute. It'd have to be something like try { f(); fail("no excep

thinking about Test::HTML::Form

2003-12-03 Thread Mark Stosberg
Hello, Lately I've been using the excellent WWW::Mechanize module a good deal to test web applications. As I've done this, I've noticed a number of the same patterns coming up as I'm testing web-based forms. I'm wondering if there are any known modules out there for testing forms represented as

Re: tesing exceptions of Error.pm

2003-12-03 Thread Michael G Schwern
On Wed, Dec 03, 2003 at 10:20:03AM +, Fergal Daly wrote: > On Tue, Dec 02, 2003 at 10:05:46PM -0800, Michael G Schwern wrote: > > Why not? > > > > catch MyError with { > > like( $ex, qr/Bad thing/ ); > > }; > > If there is no exception then then that test won't execute. It

RFC: CPAN QA Project

2003-12-03 Thread Adam Foxson
To further a discussion on [EMAIL PROTECTED] earlier today, There seems to be an increasing number of distributions suffering from atrophy. This can be caused from the authors losing interest, having insufficient time to maintain their work, and many other reasons. This situation oftentimes affec

Re: thinking about Test::HTML::Form

2003-12-03 Thread darren chamberlain
* Mark Stosberg [2003/12/03 16:22]: > Lately I've been using the excellent WWW::Mechanize module a good deal > to test web applications. As I've done this, I've noticed a number of > the same patterns coming up as I'm testing web-based forms. > > I'm wondering if there are any known modules out

Re: RFC: CPAN QA Project

2003-12-03 Thread Thomas Klausner
Hi! On Wed, Dec 03, 2003 at 01:24:40PM -0500, Adam Foxson wrote: > I suggested that it might be a sane idea to consider starting a project who's > mission would be to take over the maintenance of distributions that, for lack > of criteria with greater specificity: > > a) are popular, well-used

Test::Benchmark ??

2003-12-03 Thread Jim Cromie
putting a name to it is painting a bullseye on it ;-) I recently wrote a test to do a benchmark / performance test, and found it somewhat difficult to get the output out to screen, the STDOUT, STDERR takeover done by Test::More was catching, and counting it as errors. (i think, but its not pertine

Re: T::H 2.38

2003-12-03 Thread Andy Lester
my @actual = qx/$prove -Ifirst -D -I second -Ithird -Tvdb/; A $^X should be inserted here. (in bleadperl, the shebang line of prove is fixed when installed.) What should be in prove's shebang? The $Config{startperl} configure variable of the perl being installed. How can I get that in there? O