class Test::Unit::TestSuite

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 #empty? in order to allow them. Having a failure when no tests have been defined seems counter-intuitive.

Public Instance Methods

empty?() click to toggle source
# File lib/contest.rb, line 8
def empty?
  false
end