Mason Tests

Ovid on 2003-12-09T00:09:53

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.


Mason tests

iburrell on 2003-12-09T02:09:22

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.

HTML::Mason::Tests

autarch on 2003-12-09T05:09:20

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.