Unity/examples
mvandervoord d0d5ec5d75 - unity_test_summary script callable from command line again
- fixed obj_file sorting in rakefiles
- gave better anchors for gcc to grab on test pass/fail by breaking them out as functions
- fixed minor type issues

git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@137 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2012-01-02 21:38:36 +00:00
..
helper - restored examples to working condition 2010-04-26 01:10:48 +00:00
src - restored examples to working condition 2010-04-26 01:10:48 +00:00
test - fixed summarizer to handle more generic input 2011-10-11 02:40:04 +00:00
makefile - restored examples to working condition 2010-04-26 01:10:48 +00:00
rakefile_helper.rb - unity_test_summary script callable from command line again 2012-01-02 21:38:36 +00:00
rakefile.rb - now compat with Ruby 1.9.2 2010-10-22 00:46:58 +00:00
readme.txt - restored examples to working condition 2010-04-26 01:10:48 +00:00

Example Project

This example project gives an example of some passing, ignored, and failing tests.
It's simple and meant for you to look over and get an idea for what all of this stuff does.

You can build and test using the makefile if you have gcc installed (you may need to tweak
the locations of some tools in the makefile).  Otherwise, the rake version will let you
test with gcc or a couple versions of IAR.  You can tweak the yaml files to get those versions
running.

Ruby is required if you're using the rake version (obviously).  This version shows off most of
Unity's advanced features (automatically creating test runners, fancy summaries, etc.)  

The makefile version doesn't require anything outside of your normal build tools, but won't do the
extras for you.  So that you can test right away, we've written the test runners for you and 
put them in the test\no_ruby subdirectory.  If you make changes to the tests or source, you might
need to update these (like when you add or remove tests).  Do that for a while and you'll learn
why you really want to start using the Ruby tools.