Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Re: Does anybody write tests first?

by dsheroh (Prior)
on Feb 22, 2008 at 04:55 UTC ( #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?

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2019-10-18 10:49 GMT
Find Nodes?
    Voting Booth?