1
我可以從多個腳本運行多個測試用例,但有單一輸出或者說「100%Pass」或「X Failed」,並列出失敗的測試?紅寶石測試單元:多個腳本,一個輸出
例如,我想看到的東西,如:
>runtests.rb all #runs all the scripts in the directory
Finished in 4.523 Seconds
100% Pass
>runtests.rb category #runs all the scripts in a specified sub-directory
Finished in 2.1 Seconds
2 Failed:
test_my_test
test_my_test_2
1 Error:
test_my_test_3