Unit Test - A test verifying the functionality of a small portion of code. The primary mode of testing code with Test-Driven Development[/lnk] and Behavior-Driven Developmet. Every aspect of application code should be tested by at least one unit test.
With Test-Driven Development, unit tests are written with Test::Unit. With Behavior-Driven Development, unit tests are written with the RSpec expectation domain specific language.