This is a fork of Unity which is hosted on SourceForge.net
- Greg Williams
- Mark Karlesky
- Mark Vandervoord.
Get the latest official Binaries or the Subversion ‘bleeding edge’ from SourceForge.net
Unity is a unit test framework written entirely in the C language. It has special features for embedded systems. It has scaled well from small to large embedded projects, but can be used for any C project.
- NOTE: Most of the changes to this fork require the use of the ruby helpers
and rake
- Added colour support (requires win32 gem on windows) (now incorporated
into svn trunk) - Added support for test file filtering.
Test file filtering is controlled by modifying
test_file_filter.yml. For
continuous integration purposes, test file filtering can be
overridden with rake cruise, or rake ci - Added TEST_ONLY() macro. Within a test function causes just this
test to be run). Used in conjunction with
test_file_filtering - Fixed TEST_ASSERT() macro (was catching a FALSE assertion but wasn’t
displaying anything) - Added test_runner.watchr script for continuous testing.
> watchr test_runner.watchr causes the watchr daemon to run the tests
automatically when a test or source file is modified (saved). Modify test_runner.watchr to suit your
project. Requires the watchr gem
- Unity git clone git://github.com/mjago/Unity.git
- gcc C compiler (MinGW on Windows)
- ruby >= 1.8.6 (Ruby Downloads)
- rake gem install rake
- win32API (for colour on windows) gem install win32API
- watchr (for continuous testing) gem install watchr
cd path/to/Unity
rake
cd path/to/Unity
watchr test_runner.watchr