Give me your hand, baby
Unit testing allows you to test your software in isolation. Normally, unit tests are small, fast, and test just a short piece of code—a unit—such as a function. A unit test is code designed to test other code.
It helps to keep the code short, easy to understand, and easy to read. It helps, too, to write more maintainable code. As a result, this helps to create software with fewer bugs. Unit tests automatize the testing process.
Unit tests alone will not guarantee perfect, bug-free ...