Unit Testing
The goal of unit testing is to isolate each part of the program and show that the individual parts are correct. Unit testing provides a strict, written contract that the piece of code must satisfy. Check out what wikipedia says about it.
The LightsOn framework is being built and tested with Unit Testing as standard, although having introduced it part way through development not all of the framework has unit tests written for it as yet.