Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re^7: Self Testing Modules

by demerphq (Chancellor)
on Dec 19, 2005 at 00:20 UTC ( #517641=note: print w/replies, xml ) Need Help??

in reply to Re^6: Self Testing Modules
in thread Self Testing Modules

If you are writing 1000 lines of tests to verify 100 lines of code, your code is testing your tests, and not the other way around.

Heh, well, ok, maybe thats a bit high. :-) OTOH, A hundred lines of code can involve an awful lot of behaviour that needs testing, especially in perl, and IME test code tends to be quite chunky anyway. Maybe stating a hard and fast ratio is not so easy, but i believe the point is still sound.


Log In?

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2021-07-28 10:07 GMT
Find Nodes?
    Voting Booth?

    No recent polls found