Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Lazy test writing?

by doom (Deacon)
on Mar 19, 2009 at 20:03 UTC ( #751854=note: print w/ replies, xml ) Need Help??


in reply to Lazy test writing?

Two thoughts: (1) use some sort of templating system. I use template.el (via perlnow.el) with emacs. You can probably find some way to do it that you like. (2) cut and paste. No, seriously. I think it's usually a mistake to require your test code to meet the same standards as your production code (think about it -- "test first programming" will get you stuck in an infinite loop if you need to test your test code).


Comment on Re: Lazy test writing?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2016-02-13 18:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?





    Results (442 votes), past polls