Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Re: Tests for CGI apps

by jest (Pilgrim)
on Nov 18, 2003 at 22:01 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2024-04-25 11:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found