2008-11-05 140 views

回答

2

不確定它已經執行了多少,但是難道你沒有檢查使用self.methods.grep(/test_/)進行了多少次總測試?

0

Test::Unit::TestSuite#size可能會對您有所幫助。

Test::Unit::TestCase#size可能不是,因爲它返回1

相關問題