1. Technology
Send to a Friend via Email
You can opt-out at any time. Please refer to our privacy policy for contact information.

Unit Test

By

Definition:

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.

  1. About.com
  2. Technology
  3. Ruby
  4. Glossary
  5. S - Z
  6. Unit Test

©2014 About.com. All rights reserved.