On Dec 12, 2005, at 10:50 AM, Konstantin Ignatyev wrote:
Tests cannot prove that code is bug free. It is simple
as that.

They definitely help, but not that much

Wow, where do you people come from with such a low opinion of testing?

They don't help much? Then I argue you're not writing the right tests! Tests are a completely different level than compilation. Compilation asserts proper syntax. Tests assert what you tell them to assert. Here's an exercise for you all to try... next time a bug is discovered in your system, write a test that shows that bug by asserting the expected behavior that did not occur properly. Now go fix the bug, and re-run the test. It now passes. That same bug will not occur again provided you use your tests and keep them always passing.

        Erik - who is writing "extends TestCase" as he speaks


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to