Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

petdance (2468)

AOL IM: petdance (Add Buddy, Send Message)
Yahoo! ID: petdance (Add User, Send Message)

I'm Andy Lester, and I like to test stuff. I also write for the Perl Journal, and do tech edits on books. Sometimes I write code, too.

Journal of petdance (2468)

Monday June 28, 2004
05:11 PM

Test::WWW::Mechanize released

[ #19558 ]
It only makes sense that eventually I'd put out a WWW::Mechanize module that did testing, doesn't it?

Test::WWW::Mechanize is a subclass of WWW::Mechanize that incorporates features that make sense for doing web application testing. For example:

$mech->get( $page );
$mech->title_is( "Invoice Status", "Make sure we're on the invoice page" );
$mech->content_like( qr/Unpaid/ );

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • I didn't need to write so much code for my column on checking website health []?
    • Randal L. Schwartz
    • Stonehenge
    • I really don't suggest putting actual code in your tests. Instead of:
      isa_ok(my $a = WWW::Mechanize->new, "WWW::Mechanize");
      my $a = WWW::Mechanize->new;
      isa_ok( $a, "WWW::Mechanize" );
      I'm not telling you, Randal, but other peole who might be reading, so you don't have to argue with it. :-)