Port of schuchert.wikispaces.com


Test_First_Development

Test_First_Development

Many people do not make a distinction between Test_Driven_Development and Test First Development or Test First Coding. On this site, we make the following distinction. When using a Test First approach, we proceed tests with some amount of design work.

For example, we might begin with a simple UML Communication diagram. Once we’ve completed the diagram, we then will use unit tests to test our way into the design.

Taking this approach, we’d typically work least dependent to most dependent (bottom of the diagram or leaf notes first). We follow a similar approach to TDD:

The only difference is that we are testing our way into a known design.

This approach is useful when trying to teach object oriented design principles.


Comments

" Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.