Automated Unit Testing
Automated unit testing is a method of testing software in which units (small sections) of code are rigorously checked to ensure they work correctly. A separate program can be written specifically to test the unit, using every reasonable piece of data the code might encounter in real-world use. The goal of automated unit testing is to demonstrate that each part of a larger software development project works as intended.
Automated unit tests may also aid in documenting the software's functionality. Developers who did not write the code, but want to better understand how it works, can view the results of a unit test to gain insight into how the code interfaces with the systems it runs on. Developers may also see how the code interacts with the end users who provide it with input and other units that are part of the same software package.