mirror of
https://github.com/ThrowTheSwitch/Unity
synced 2025-03-12 16:11:12 -04:00
YAML.load is now interpreted as YAML.safe_load, which breaks where the YAML file contains aliases. If we can assume our yaml files are trusted (since this a development tool), we can check for the presence of YAML.unsafe_load and use it instead if it exists. |
||
---|---|---|
.. | ||
helper | ||
src | ||
test | ||
rakefile_helper.rb | ||
rakefile.rb | ||
readme.txt | ||
target_gcc_32.yml |
Example 3 ========= 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 rake. 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.) Without ruby, you have to maintain your own test runners. Do that for a while and you'll learn why you really want to start using the Ruby tools.