How TDD affect the testing phase in the SW life cycle?Does we need any testing if we use TDD?

Mahmoud Allam<br /> <br />SCJP 1.5<br />SCWCD 1.4

Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962

5

posted Sep 26, 2007 03:47:00

0

Originally posted by mahmoud allam: How TDD affect the testing phase in the SW life cycle? Does we need any testing if we use TDD?

Yes, you should test the software regardless of whether the code was written test-first or not. While it's likely that test-driven software has less bugs, it doesn't guarantee zero-defect software. Besides, not all defects can be detected by a test that operates a single object or a couple of collaborating objects.

In other words, while TDD helps produce higher quality software, it's not a silver bullet.