Skip to content

mjago/old_Unity

Repository files navigation

Fork of Unity

This is a fork of Unity which is hosted on SourceForge.net

Maintainers…

  • Greg Williams
  • Mark Karlesky
  • Mark Vandervoord.

Get the latest official Binaries or the Subversion ‘bleeding edge’ from SourceForge.net

What is Unity?

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.

Local changes to this Fork…

  • NOTE: Most of the changes to this fork require the use of the ruby helpers
    and rake
  1. Added colour support (requires win32 gem on windows) (now incorporated
    into svn trunk)
  2. 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
  3. Added TEST_ONLY() macro. Within a test function causes just this
    test to be run). Used in conjunction with
    test_file_filtering
  4. Fixed TEST_ASSERT() macro (was catching a FALSE assertion but wasn’t
    displaying anything)
  5. 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

Try Out (with gcc)…

Dependencies…

  1. Unity git clone git://github.com/mjago/Unity.git
  2. gcc C compiler (MinGW on Windows)
  3. ruby >= 1.8.6 (Ruby Downloads)
  4. rake gem install rake
  5. win32API (for colour on windows) gem install win32API
  6. watchr (for continuous testing) gem install watchr

Go!…

cd path/to/Unity
rake

Or with Continuous Testing…

cd path/to/Unity
watchr test_runner.watchr

Screenshot…

About

Git fork of Unity - Unity is a unit test framework written entirely in the C language. See README below for details of the official maintainers and home of Unity.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published