Sha256: d578baa9a1746d46abf44d1cd8bd5d8757255673de624a64d7fc7b642563a622
Contents?: true
Size: 490 Bytes
Versions: 3
Compression:
Stored size: 490 Bytes
Contents
require File.dirname(__FILE__) + "/../lib/contest" class Test::Unit::TestCase def setup puts "Grandparent Setup" end end class Test::Unit::TestCase def teardown puts "Grandparent Teardown" end 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
3 entries across 3 versions & 2 rubygems
Version | Path |
---|---|
citrusbyte-contest-0.1.0 | test/setup_and_teardown_order.rb |
citrusbyte-contest-0.1.1 | test/setup_and_teardown_order.rb |
contest-0.1.1 | test/setup_and_teardown_order.rb |