So far I have not used Test Driven Development (TDD). In our organization we are following Rational Unified Process (RUP).
I have heard TDD is some sort of write test code first, and then develop, and then refactor if necessary.
I have few questions:
- Can TDD not be employed in RUP? I ask because RUP recommends design be done before implemetation, and design should be a blueprint for the implementation. Any refactoring required it should be done as design itself.
- In TDD approach, is there no design at all?
- Does writing black box testing scripts not fall under TDD? (I cask because TDD needs some kind of implementation details like class name & method names.)
- If TDD is to fit in RUP, then we should start writing tests after design. Am i right in stating so?