Michael G Schwern wrote:
On Mon, Mar 28, 2005 at 07:52:22PM -0500, Christopher H. Laco wrote:
Michael G Schwern wrote:
Until such time as there are test_* flags, one should take a pragmatic
view.
And that view is "what is going to cause the least amount of hassle for
those who want to inst
Andy Lester wrote:
Some interesting ideas here...
Date: Sun, 20 Mar 2005 07:11:11 +1000
From: Robert Barta <[EMAIL PROTECTED]>
To: libwww@perl.org
Hi all,
I have put WWW::Agent onto CPAN.
http://search.cpan.org/~drrho/WWW-Agent/
We will use it here to base on it functionality given in
WWW::Mecha
Michael G Schwern wrote:
On Thu, Mar 17, 2005 at 12:06:36AM +1100, Andrew Savige wrote:
However, I was wondering if there is a standard, safe way of testing
simple .pl scripts?
Hmmm. The identical question was asked a bit over a week ago:
http://www.nntp.perl.org/group/perl.qa/3722
I sugg
David Golden wrote:
Just to be playful with concepts:
* Test::Answer -- holds the details of a particular test
(pass/fail/skip/todo)
* Test::Scoresheet -- holds a collection of Test::Answers
* Test::Booklet -- sets up a default Test::ScoreSheet object to hold
results, creates and maintains new o
chromatic wrote:
I've been writing notes for Test::Builder for Perl 6, though. It's a
little something like:
How is CPAN going to support simultaneous development of perl 5 and 6
versions of modules?
-ofer
CĂdric Bouvier wrote:
I think I will call it Run::Distributed after all.
http://search.cpan.org/search?query=%5Erun%3A%3A&mode=module
Looks like there's no Run::* namespace yet, and you usually need a
pretty good justification to start a new namespace.
If your module is just a generic way to r
Yitzchak Scott-Thoennes wrote:
I'd make that just:
sub main {
...the program using the functions below...
}
main() unless caller;
sub some_function { ... }
sub some_other_function { ... }
Nice trick. I just tested it.
[EMAIL PROTECTED] ~/test] cat foo.pl
#!/usr/bin/perl -w
use strict;
m
I've been reading up on perl test tools all day, and I have a question
about Test::More.
Doesn't is_deeply do everything eq_array and eq_hash does and more? It
looks like is_deeply has the same exact interface and purpose, except
that it accepts both arrayrefs and hashrefs. So why would you n
Michael G Schwern wrote:
Now, nobody says this means your program has to be split up into a whole
bunch of files and become a full fledged module. You can write something
like this.
#!/usr/bin/perl -w
use Getopt::Long;
my %Opts;
GetOptions(\%Opts, "test");
s
One issue I've always struggled with is how to properly test code that's
not in the form of a module - in other words, scripts. I use the usual
hacky, temporary methods to test my code as I write it or when I find a
bug (pring statements, commenting out things, etc), and occasionally the
perl
Abe Timmerman wrote:
Random thought: Could Devel::Cover be automatically run against all
modules in CPAN, with ratings posted on cpan.org right next to the usual
test results?
Looking for something like this:
http://pjcj.sytes.net/cpancover/
(The link is available from http://qa.perl.o
Michael G Schwern wrote:
On Fri, Mar 04, 2005 at 04:27:07PM -0800, Ofer Nave wrote:
Random thought: Could Devel::Cover be automatically run against all
modules in CPAN, with ratings posted on cpan.org right next to the usual
test results?
It still chokes on certain not uncommon
Shawn Sorichetti wrote:
Test::Output 0.05 has been released.
The main difference in this version is a patch from chromatic (thank
you). His patch fixed a bug where all tests printed error diags even
if they passed. Additional tests were added to ensure that no output
is sent from diag in success
David Golden wrote:
Ofer Nave wrote:
I've written a new module for CPAN called Parallel::Simple. It's my
first CPAN module, and I have not yet uploaded it because I have not
yet written any formal tests for it (although I use it in production
currently). I've also never wri
I've written a new module for CPAN called Parallel::Simple. It's my
first CPAN module, and I have not yet uploaded it because I have not yet
written any formal tests for it (although I use it in production
currently). I've also never written any formal tests in perl at all
(using the Test::*
15 matches
Mail list logo