4412 shaares
Lien vers toutes les parties de l'article :
- https://www.artima.com/intv/testdriven.html
- https://www.artima.com/intv/testdriven2.html
- https://www.artima.com/intv/testdriven3.html
- https://www.artima.com/intv/testdriven4.html
L'extrait qu'il faut retenir :
Bill Venners: What is the unit in unit test? Define unit test.
Martin Fowler: That's very difficult. To a first approximation, it's a class. But as you work with unit tests more, you begin to realize you're testing little areas of responsibility, and that could be a part of a class or it could be several classes together.