class ThingySpec

end

end

runs 2 specs # runs 3 tests

The specs generate:

Public Instance Methods

setup() click to toggle source
Calls superclass method Minitest::Test::LifecycleHooks#setup
# File minitest-5.25.4/design_rationale.rb, line 30
def setup
  super
  do_some_setup
end
test_should_do_the_first_thing() click to toggle source
# File minitest-5.25.4/design_rationale.rb, line 35
def test_should_do_the_first_thing
  assert_equal 1, 1
end