これは、TDDBCのRuby向けtest-unitプロジェクトです。
- ruby 2.0.0p195
 
gem install bundler
bundle installruby test/sample_test.rbを実行して
$ ruby test/sample_test.rb
Loaded suite test/sample_test
Started
.
Finished in 0.001069 seconds.
1 tests, 1 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
100% passed
935.45 tests/s, 935.45 assertions/sのようにテストが正常終了すればOKです。
guard コマンドを実行すると入力待ちの状態になるので、あとはファイルが変更される度にテストが実行されます
OSごとに下記のソフトを入れるとテスト結果がOS毎の通知欄に表示されます
notifu: http://www.paralint.com/projects/notifu/
growl: http://growl.info/ growlnotify: http://growl.info/downloads#generaldownloads
libnotify: https://developer.gnome.org/libnotify/