Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Automatet Unit Testing for CGIs

by dokkeldepper (Friar)
on Jan 19, 2008 at 12:29 UTC ( [id://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?

Replies are listed 'Best First'.
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: 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 hipowls (Curate) on Jan 19, 2008 at 22:21 UTC
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 (Saint) 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
Domain Nodelet?
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?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (9)
As of 2024-04-18 13:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found