Class: SampleTest
- 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
#cleanup ⇒ Object
18 19 20 |
# File 'lib/foundation/test/units/sample_test.rb', line 18 def cleanup puts "Cleaning up after the test..." end |
#prepare ⇒ Object
10 11 12 |
# File 'lib/foundation/test/units/sample_test.rb', line 10 def prepare puts "I'm preparing..." end |
#run_test ⇒ Object
14 15 16 |
# File 'lib/foundation/test/units/sample_test.rb', line 14 def run_test puts "Running the test..." end |