What are some of the benefits of writing Unit Tests?
-
Prove that your code works
-
Allows you to make changes without fear of not knowing
if you introduced bugs (Refactoring)
-
Helps in development (iterative)
-
Is a good source of sample code
-
Allows improvement of the design
-
Allows you to test code that is untestable in Systems or
Functional tests
What does testing prove about our code?
At what level should you unit test your code?


