Sha256: 4edd669c8190be70603d044e4bf02808fbdc5968982498964515d9591a5877d3

Contents?: true

Size: 470 Bytes

Versions: 1

Compression:

Stored size: 470 Bytes

Contents

require File.dirname(__FILE__) + "/../lib/contest"

class Test::Unit::TestCase
  setup { puts "Grandparent Setup" }
end

class Test::Unit::TestCase
  teardown { puts "Grandparent Teardown" }
end

class MidLayerTest < Test::Unit::TestCase
  setup { puts "Parent Setup" }
  teardown { puts "Parent Teardown" }
end

class LeafTest < MidLayerTest
  setup { puts "Child Setup" }
  teardown { puts "Child Teardown" }

  test "my actual test" do
    puts "Test Case"
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
citrusbyte-contest-0.0.9 test/setup_and_teardown_order.rb