Re: Testing relational databases

From: Robert Martin <unclebob_at_objectmentor.com>
Date: Mon, 10 Jul 2006 16:24:17 -0500
Message-ID: <200607101624177987-unclebob_at_objectmentorcom>


On 2006-07-10 10:41:32 -0500, "Tony D" <tonyisyourpal_at_netscape.net> said:

> Another question is, who designs the tests ? Programmers are notorious
> for testing to "prove" that their software works. Testers (when
> available) are notorious for testing to "prove" that the same software
> fails. Who would you rather have design your tests ?

Both. That's why TDD involves programmers writing their own unit tests, and testers writing acceptance tests. Both are written before the code is written. In the case of acceptance tests, long before. In the case of unit tests, just before.

-- 
Robert C. Martin (Uncle Bob)  | email: unclebob_at_objectmentor.com
Object Mentor Inc.            | blog:  www.butunclebob.com
The Agile Transition Experts  | web:   www.objectmentor.com
800-338-6716                  |
Received on Mon Jul 10 2006 - 23:24:17 CEST

Original text of this message