Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Test Survey Results

by perrin (Chancellor)
on Aug 03, 2008 at 00:59 UTC ( #701860=note: print w/ replies, xml ) Need Help??


in reply to Test Survey Results

I'm kind of bummed to see "mod_perl" listed as a reason for not having tests. The mod_perl team put a lot of work into Apache::Test so that people would write tests for their mod_perl apps.


Comment on Re: Test Survey Results
Re^2: Test Survey Results
by Mutant (Priest) on Aug 03, 2008 at 08:59 UTC
    It's really whoever gave that answer who should be "bummed". They're clearly giving an invalid excuse for not doing testing. There are thousands of reasons you can give for not doing testing, but only a few of them are genuinely valid.
      Perhaps they don't know about Apache::Test. That makes it a *reason*, not the "invalid excuse" that you so blithely dismiss. For all I know, they might have other *reasons* that mod_perl makes testing hard too.

        Hmm, well to me not bothering to RTFM, or do some basic research (e.g. ask on PerlMonks - a response would've been forthcoming within minutes) is not really a valid excuse for not doing testing. Putting a test suite in place takes time, and if you don't have the time to find out about Apache::Test, then you're clearly not committed to testing.

        And why should mod_perl be more difficult to test than anything else? If your modules are properly factored, they should be decoupled from mod_perl. If they're not, well your issue isn't mod_perl, it's your code base.

        There *are* valid reasons for not doing testing (but they're typically outside the realm of programming, e.g. management won't allow it (explicitly, or implicitly by not allowing enough time to complete tasks with tests)). I don't believe the fact that your application is mod_perl can be a valid reason. Whoever wrote that may have *actual* valid reasons, but to me, it makes sense to be aware of those (so you can potentially do something about them) than to blame it on something you most likely can't change, and get away with not bothering to write tests.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2014-07-24 02:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (156 votes), past polls