Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Does anybody write tests first?

by dsheroh (Monsignor)
on Feb 22, 2008 at 04:55 UTC ( [id://669463]=note: print w/replies, xml ) Need Help??


in reply to Does anybody write tests first?

"Test first" seems to be the current mantra, but I must confess that I don't follow it regularly when developing new code, for the simple reason that I don't find it useful to watch the tests blow up when they try to call a method which doesn't exist yet. So I write the tests immediately after writing the code (and before trying to use the code in anything other than tests).

I'm much more likely to write the tests first when modifying existing code, so as to verify behaviour before and after the change.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (4)
As of 2024-04-19 13:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found