Projects / CUT


CUT is a unit-testing framework for C, C++, and Objective-C. Unlike other unit testing tools, CUT doesn't strive to be an SUnit clone. It automates a lot of the drudge work often encountered when using other unit testing packages for the C family of programming languages. CUT may also be used to unit-test assembly language software in some circumstances.

Operating Systems

Recent releases

  •  20 Oct 2008 18:18

    Release Notes: This release supports test setups (whose semantics match those in the various xUnit clones) via the __CUT_SETUP__ tagged procedures. Setups and bringups may be nested to any reasonable depth as well. Test runners now require --break-at to set a breakpoint. Use --verbose to find breakpoint numbers. The output format has changed drastically, making integration with other development tools easier.

    •  02 Dec 2004 21:50

      Release Notes: The directory layout was refactored for future BSD/Slackware package generation. The Makefile now has "install" and "(un|de)install" targets (which require root privileges to use). The default installation locations of cut.h and cutgen-2 binaries are now in system-wide directories, instead of being replicated across all projects. The tests were cleaned up to take advantage of system-wide cut.h installation. The -i option was added to override the default cut.h location.

      •  18 Mar 2003 07:27

        Release Notes: This version returns the correct error code to the shell environment regardless of whether a failed assertion was found in a bring-up function or in a contained test function.

        •  13 Mar 2003 07:52

          Release Notes: A few bugs were fixed. cutgen now generates a test runner that does not ignore bring-up failures. License information in the distribution was also updated.

          •  04 Mar 2003 15:15

            Release Notes: The -o command line option was added. The dependency on Python was removed.


            Project Spotlight


            A Fluent OpenStack client API for Java.


            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.