i.e. as I compose my test suites to include other suites as well as test cases, is there a global count of how many tests the TestRunner has executed, will be executing?
Any way I can progammatically access that count?
i.e. as I compose my test suites to include other suites as well as test cases, is there a global count of how many tests the TestRunner has executed, will be executing?
Any way I can progammatically access that count?
not sure about how many it has executed, but couldn't you check how many total tests using self.methods.grep(/test_/)
?
Test::Unit::TestSuite#size
may be helpful.
Test::Unit::TestCase#size
probably isn't, as it returns 1.