Hi,
I've just dowloaded release 7917 from svn, and the compilation on Fedora
3 fails like this:
Compiling Pugs.Run ( src/Pugs/Run.hs, dist/build/src/Pugs/Run.o )
Skipping Pugs.CodeGen.PIR ( src/Pugs/CodeGen/PIR.hs,
dist/build/src/Pugs/CodeGen/PIR.o )
Skipping Pugs.Compile.Haskell (
Hi,
I've just stumbled upon Test::WWW::Mechanize and tried to use version
1.05_02, but the very first test gave me the following error:
1) /opt/software/perl/lib//Test/WWW/Mechanize.pm:103 - frontPage(MCTests)
You tried to run a test without a plan! Gotta have a plan.
The
have you seen Apache-Test yet?
http://search.cpan.org/dist/Apache-Test/
I find it hard to understand modules like this anymore - why use some funky
tie interface and a bunch of other hoops to fake a live environment when you
can really upload a file to a real webserver and run your tests
Jim,
test in what sense? Is this supposed to be a module like Test::More
or Test::Deep which builds on Test::Builder and which will ultimately
generate an 'ok'? If so, what does the interface for that look like?
It'll look like this: (in a Test::Unit::TestCase subclass)
my $fh =
Hi,
I'd like to suggest a module that I came up with to test CGI file
uploading logic. I have not found anything else like it.
If anyone has any thoughts on its usefulness or knows of something else
that does a similar job, please let me know.
Thanks!
Simon
NAME
Hi,
Maybe someone will be interested in what I came up with to test sending
emails. Usually I use Mail::Mailer, but obviously I don't want to send
real emails during testing - at best, they won't go anywhere, and at
worst, they will go to real users and confuse them.
Now, I use in my code
Hi,
I have tried to run Devel::Cover on my tests that use Test::Unit, and I
am getting this after the code is run:
Deep recursion on subroutine B::Deparse::find_scope at
/usr/lib/perl5/5.8.1/i386-linux-thread-multi/B/Deparse.pm line 1317.
Deep recursion on subroutine B::Deparse::dq at
Absolutely correct. I was able to reduce the code to:
require B::Deparse;
B::Deparse-new-coderef2text(sub {})
The problem occurs because Devel::Cover overrides some of B::Deparse's
subs, but when you go calling them in a program it gets upset. The
solution is to only override the subs
Hi,
I've run into Can't call method add_statement on an undefined value
running Devel::Cover. Apologies if this was reported before, but the
list archive is not searchable. I am using perl 5.8.4 and Devel::Cover 0.46.
To reproduce the bug, run
/opt/perl/bin/perl -MDevel::Cover -MFooBar -e