The Clean Code Talks -- Unit Testing


Before you start testing the TOP, please make sure that the bases are solid.


Analogy: Is like TESTING A CAR directly driving it.

TO TEST A CAR:
1. TEST each piece of the car separately and make sure it works right.
2. TEST that one piece fit and work fine with another.
3. TEST all the pieces of the car together

If you start testing all the pieces of the car together...

Comentarios