Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Automatet Unit Testing for CGIs

by dokkeldepper (Friar)
on Jan 19, 2008 at 12:29 UTC ( #663212=perlquestion: print w/ replies, xml ) Need Help??
dokkeldepper has asked for the wisdom of the Perl Monks concerning the following question:

Dear Monks,

currently I wrote a small CGI-Application. After using Test::More & relatives quite extensively for Desktop applications I wondered if there exist a testing framework for CGI-Programs?

Comment on Automatet Unit Testing for CGIs
Re: Automatet Unit Testing for CGIs
by stark (Pilgrim) on Jan 19, 2008 at 12:49 UTC
Re: Automatet Unit Testing for CGIs
by randyk (Parson) on Jan 19, 2008 at 15:39 UTC
Re: Automatet Unit Testing for CGIs
by hipowls (Curate) on Jan 19, 2008 at 22:21 UTC
Re: Automated Unit Testing for CGIs
by bobf (Monsignor) on Jan 20, 2008 at 05:32 UTC

      Thank you, this organized my thinking about CGI-Testing.

      What I miss seriously is an easy way to test parallel access, because I use a (very) small state file for global data with locking.

      This, of course, would be a different story

Re: Automatet Unit Testing for CGIs
by andreas1234567 (Vicar) on Jan 20, 2008 at 08:49 UTC
    Selenium is a test tool for web applications. The tests are written as HTML tables and can be run directly in most modern web browsers. Selenium can be deployed on Windows, Linux, and Macintosh. Apache 2.0 license.

    There's even a Perl interface: Test::WWW::Selenium.

    --
    Andreas
Re: Automatet Unit Testing for CGIs
by GrandFather (Cardinal) on Jan 20, 2008 at 09:34 UTC

    CGI::Test seems to be the regression testing tool for CGI. Caveat: I've not used it yet (but plan to in the near future) so I don't know how easy it is to use or how reliable it is.


    Perl is environmentally friendly - it saves trees

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://663212]
Approved by kyle
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (7)
As of 2014-07-10 01:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (198 votes), past polls