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

Re: Testing 1...2...3...

by mr_mischief (Monsignor)
on Dec 07, 2010 at 21:14 UTC ( [id://875890]=note: print w/replies, xml ) Need Help??


in reply to Testing 1...2...3...

Be careful with absolute statements. If you haven't tested it, how do you know it doesn't work? I'd say you know that no more than they know that it does, and the hyperbole doesn't help them understand. It just sounds like you're willing to either exaggerate (which you are) or to ignore the simple rules of logic (in which case testing wouldn't do any good anyway).

I think the best way to get around all this "sort of meets spec" thinking and to get people to do tests misses the obvious part of the problem. If you really want the software tested and you really want it to meet specs, then there's a solution staring you in the face. Spec the tests.

If you specify what the tests are, and specify that the software must meet the tests, then the software isn't fit for spec until it passes the tests. You may be a test first person, a test last person, a write then test per feature person, or whatever type of test-minded person you care to be. If the spec is written in terms of what tests specifically must pass and how the tests will be written, then there's no way to claim the software is to spec until the tests pass.

Replies are listed 'Best First'.
Re^2: Testing 1...2...3...
by JavaFan (Canon) on Dec 08, 2010 at 00:57 UTC
    And, very importantly, spec tests should not be written by the same people who implement the product/feature. We all feel great about the myriad of tests that are on CPAN, and we nearly pee in out pants anytime someone mentions "unit tests". But tests written by the authors feel like the police policing themselves, and banks judging for themselves whether they behaved ethically.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (8)
As of 2024-04-23 13:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found