Stories
Slash Boxes
Comments
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 ]

Ovid (2709)

Ovid
  (email not shown publicly)
http://publius-ovidius.livejournal.com/
AOL IM: ovidperl (Add Buddy, Send Message)

Stuff with the Perl Foundation. A couple of patches in the Perl core. A few CPAN modules. That about sums it up.

Journal of Ovid (2709)

Monday December 08, 2003
07:09 PM

Mason Tests

[ #16222 ]

We finally have the Mason level tests running. I'm going to consolidate all of our main testing programs into one testing program that will run module, Mason, or Web tests from one simple command line interface. Everything will run transparently except for the need to pass a '-M' switch if I want the Web tests to be driven directly through Mason instead of the Web server. Already we're encountering bugs in the Mason code that were not previously diagnosed due to the lack of tests for them.

I also have a small program that spiders through the Web site and builds tests stubs for every page it finds, thus allowing a shell of a test suite to be built from scratch without the need to manually write them for every page. We already have one other team that is migrating to Perl 5.8.2 and Mason 1.24 and they're anxious to start using the new tools.

With any degree of luck, we'll soon be able to do real performance and code coverage profiling by targeting Mason directly rather than on a module by module basis.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • Can you distribute the Mason test suite? Or the CGI test stub builder? I am sure both of stuff would be useful for other people.
  • Have you looked at this module? It's included with the Mason distro.

    I'm not sure if it does anything related to what you're talking about though.