A unit test is an automated piece of code that invokes a unit of work in the system and then checks a single assumption about the behavior of that unit of work.
http://artofunittesting.com/definition-of-a-unit-test/
By Ahmed Ayub