Google
 

Tuesday, March 27, 2007

CuTest: C Unit Testing Framework

REF: http://cutest.sourceforge.net/

CuTest: C Unit Testing Framework

Overview

CuTest is a unit testing library for the C language. It can be used to do Extreme Programming and Test-First Development in the C language. It's a fun and cute library that will make your programming fun and productive.

Benefits

  • Lower Defects. The tests ensure that your code keeps working as you make small changes in it.
  • Faster Debugging. The tests tell you which subroutine is broken. You avoid spending hours trying to figure out what's broken.
  • Development Speed. You trust your old code and can keep adding to it without worrying about bad interactions. If there is a bad interaction the tests will catch it.
  • Permanent Bug Fixes. If every time a bug is reported you write a quick test, you will guarantee that the bug never reappears again.
  • Fun. As your bug count drops you will begin to enjoy programming like you've never done before. Running the tests every few minutes and seeing them pass feels good.

Features

  • Small. Consists of a single .c and .h file.
  • Easy to Deploy. Just drop the two files into your source tree.
  • Highly Portable. Works with all major compilers on Windows (Microsoft, Borland), Linux, Unix, PalmOS.
  • Open Source. You can extend it to add more functionality. The source can be invaluable if you are trying to trace a test failure.
  • Cuteness. Of all the testing frameworks CuTest has the cutest name :-)

Download it here.
--
Happy day, happy life!

No comments: