Sha256: d9c040673aba5d873d553b24b2ae4c00eac7fd0a2035697e585475ff7d6c2915
Contents?: true
Size: 527 Bytes
Versions: 7
Compression:
Stored size: 527 Bytes
Contents
module TestBelt module DefaultTest # This overrides the TestCase default_test behavior. When running # a TestCase, the 'default_test' method is called if no 'test_*' # methods are defined. The standard method always flunks saying # 'no tests defined' or whatever. This overrides the standard # method so it won't flunk and you can inherit TestCases freely. # Usage: # class SomeTest < Test::Unit::TestCase # include TestBelt::DefaultTest # end def default_test; end end end
Version data entries
7 entries across 7 versions & 1 rubygems