Class | Test::Unit::TestSuite |
In: |
lib/contest.rb
|
Parent: | Object |
Test::Unit loads a default test if the suite is empty, whose purpose is to fail. Since having empty contexts is a common practice, we decided to overwrite TestSuite#empty? in order to allow them. Having a failure when no tests have been defined seems counter-intuitive.