Class: SampleTest

Inherits:
Test
  • Object
show all
Defined in:
lib/foundation/test/units/sample_test.rb,
lib/foundation/test/manual/sample_test.rb

Instance Attribute Summary

Attributes inherited from Test

#errors, #notes, #result, #test_name

Instance Method Summary collapse

Methods inherited from Test

#explain, #initialize, #leave, #raise_error, #run, #runner

Constructor Details

This class inherits a constructor from Test

Instance Method Details

#cleanupObject



18
19
20
# File 'lib/foundation/test/units/sample_test.rb', line 18

def cleanup
  puts "Cleaning up after the test..."
end

#prepareObject



10
11
12
# File 'lib/foundation/test/units/sample_test.rb', line 10

def prepare
  puts "I'm preparing..."
end

#run_testObject



14
15
16
# File 'lib/foundation/test/units/sample_test.rb', line 14

def run_test
  puts "Running the test..."
end