Ruby の minitest の実行結果を見やすくする
turn インストール
sudo gem install turn
turn を require
require 'turn'
require 'turn' 追加前
Run options: --seed 13498 # Running tests: .....404 => Net::HTTPNotFound . Finished tests in 5.601569s, 1.0711 tests/s, 2.4993 assertions/s. 6 tests, 14 assertions, 0 failures, 0 errors, 0 skips
require 'turn' 追加後
Loaded Suite Started at 2012-04-07 17:50:53 +0900 w/ seed 54412. TestAccessYFDB PASS test_select_stock (0:00:00.002) PASS test_select_stock_unit (0:00:00.002) TestJSF PASS test_get_loanable_stocks (0:00:04.534) TestSBI PASS test_check_exist (0:00:05.068) PASS test_get_trading_unit (0:00:05.477) TestYahooFinance 404 => Net::HTTPNotFound PASS test_get_detail (0:00:06.210) Finished in 6.210332 seconds. 6 tests, 6 passed, 0 failures, 0 errors, 0 skips, 14 assertions