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

Re: Re: Tests for CGI apps

by jest (Pilgrim)
on Nov 18, 2003 at 22:01 UTC ( #308146=note: print w/replies, xml ) Need Help??


in reply to Re: Tests for CGI apps
in thread Tests for CGI apps

Thanks for the various ideas.

I regret that I have not, thus far, cleanly separated my M from my C, though my V is nicely off in TT. But I can probably adopt some form of mixing Test::* tests with a WWW::Mechanize implementation. Hope this isn't too time-consuming to implement....

Replies are listed 'Best First'.
Re: Re: Re: Tests for CGI apps
by edoc (Chaplain) on Nov 18, 2003 at 22:52 UTC
    Hope this isn't too time-consuming to implement...

    If you're planning to maintain and develop your code base it'll be worth it no matter how long it takes.

    You'll eventually find yourself modifying your application so it's easier to write tests for.. this is a good thing. It'll probably mean you're making your code more modular which will in turn make it easier to develop.

    oh, and you'll know it was all worth it when you make a quick and simple change which "won't affect anything else" and your test suite finds and identifies a bug in 10 seconds..

    I've spent a lotta time writing tests and improving my app to make it testable over the last 6 months, but I still don't think I've come close to the amount of time I've saved compared to manual testing and searching for bugs...

    cheers,

    J

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://308146]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (2)
As of 2022-01-18 02:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (52 votes). Check out past polls.

    Notices?