- Defined in:
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.
Instance Method Summary (collapse)
Instance Method Details
- (Boolean) empty?
8 9 10
# File 'lib/contest.rb', line 8 def empty? false end