![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
A metronome using the FRDM K64F board
pal/Test/Unity/examples/example_3/readme.txt@0:a7a43371b306, 2017-05-14 (annotated)
- Committer:
- ram54288
- Date:
- Sun May 14 18:40:18 2017 +0000
- Revision:
- 0:a7a43371b306
Initial commit
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
ram54288 | 0:a7a43371b306 | 1 | Example 3 |
ram54288 | 0:a7a43371b306 | 2 | ========= |
ram54288 | 0:a7a43371b306 | 3 | |
ram54288 | 0:a7a43371b306 | 4 | This example project gives an example of some passing, ignored, and failing tests. |
ram54288 | 0:a7a43371b306 | 5 | It's simple and meant for you to look over and get an idea for what all of this stuff does. |
ram54288 | 0:a7a43371b306 | 6 | |
ram54288 | 0:a7a43371b306 | 7 | You can build and test using the makefile if you have gcc installed (you may need to tweak |
ram54288 | 0:a7a43371b306 | 8 | the locations of some tools in the makefile). Otherwise, the rake version will let you |
ram54288 | 0:a7a43371b306 | 9 | test with gcc or a couple versions of IAR. You can tweak the yaml files to get those versions |
ram54288 | 0:a7a43371b306 | 10 | running. |
ram54288 | 0:a7a43371b306 | 11 | |
ram54288 | 0:a7a43371b306 | 12 | Ruby is required if you're using the rake version (obviously). This version shows off most of |
ram54288 | 0:a7a43371b306 | 13 | Unity's advanced features (automatically creating test runners, fancy summaries, etc.) |
ram54288 | 0:a7a43371b306 | 14 | |
ram54288 | 0:a7a43371b306 | 15 | The makefile version doesn't require anything outside of your normal build tools, but won't do the |
ram54288 | 0:a7a43371b306 | 16 | extras for you. So that you can test right away, we've written the test runners for you and |
ram54288 | 0:a7a43371b306 | 17 | put them in the test\no_ruby subdirectory. If you make changes to the tests or source, you might |
ram54288 | 0:a7a43371b306 | 18 | need to update these (like when you add or remove tests). Do that for a while and you'll learn |
ram54288 | 0:a7a43371b306 | 19 | why you really want to start using the Ruby tools. |