Home Computer Audio Asylum

Music servers and other computer based digital audio technologies.

RE: Nope!, Never had that problem .......................

" a program testing a program needs to have a way to test the program testing the program"

While true in an absolute sense, in practice, automated testing is often very successful in identifying defects in software.

Your statement ignores the reality that the complexity of the code has a huge impact on the likelihood of defects e.g. that the code doesn't do what is intended.

I have written SQL modules of 5K lines (not neccessarily something to brag about I know) and a test would often be one line of code- calling the procedure, passing in a parameter value, and returning a pass/fail report based on the return value from the procedure.

There is no way that there will be anywhere near the quantity of defects in a one or two line test script vs. a procedure of 5000+ lines. *Could* there be? Yes. *Will* there be? Almost never.

In the real world, your inference that using code to test code is not useful does not at all conform to the realities of programming.


This post is made possible by the generous support of people like you and our sponsors:
  Kimber Kable  


Follow Ups Full Thread
Follow Ups

FAQ

Post a Message!

Forgot Password?
Moniker (Username):
Password (Optional):
  Remember my Moniker & Password  (What's this?)    Eat Me
E-Mail (Optional):
Subject:
Message:   (Posts are subject to Content Rules)
Optional Link URL:
Optional Link Title:
Optional Image URL:
Upload Image:
E-mail Replies:  Automagically notify you when someone responds.