With ruby or macruby test unit or minitest, results are damnly tied to output and you can't get result of a test as an object after its execution and global tests result as an object too. This gem permit to do so, and, have result of a unit test (with minitest testunit and macruby for now but can easily be evolved with ruby. See usage on github repository)
Gemfile gem 'minitest_owrapper', '~> 0.0.1'
install gem install minitest_owrapper