Unit Testing (UT) is the first dynamic test of the executable code, both in its initial and any subsequent changes.
Executed directly by the developer in its development environment, it checks the adherence to specific programming from the logical point of view the program; valid then its internal logic.
The advantages of the unitary test are:
- find problems early in the development cycle
- facilitates the modification of the code of the module at a later date (refactoring)
- simplifies the integration of different modules
- provides a sort of living documentation of the system.