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

Re^2: Does anybody write tests first?

by amarquis (Curate)
on Feb 22, 2008 at 15:39 UTC ( #669583=note: print w/replies, xml ) Need Help??

in reply to Re: Does anybody write tests first?
in thread Does anybody write tests first?

First, I appreciate the dissenting opinion, I was looking particularly for the proverbial "other ways to do it."

I suspect that the experence difference between you and I is the main point here: your method works best for you because you have the skill to avoid the pitfalls. Were I to design something in that way, I'm sure that I'd miss an assertion or return check somewhere, or the coverage wouldn't be complete in some other way. The Test::* method allows me to have all my tests in the same place, where gaps are obvious. The extra work initially has a big payoff downstream when I'm hunting bugs.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (8)
As of 2019-10-21 20:27 GMT
Find Nodes?
    Voting Booth?