Tests inform developers on the behavior of what certain parts of the application should accomplish. A unit test is a way of testing the smallest piece of code (aka unit or component) that can be isolated from the software. Understanding how the code will be tested informs developers on how code should best be composed.
Sort: