Programmer's Wiki

Unit testing is where testing is done on the individual parts of a program. The assumption here is that if the parts of a program are working properly then it is less likely that there are any hidden bugs. Ideally Unit tests are created before any code is written. In this way the tests can be run while the code is being written to catch unexpected behaviour before they become bugs.

Unit testing programs[]

See Also[]