TDD Approaches

There are at least two main approaches to test-driven development: test/classical/TDD style and spec/mockist/BDD style.

The main differences between the styles are:

The following concepts are associated with the mockist style, although they can be applied in either style: