Method: Oats::TestData.error
- Defined in:
- lib/oats/test_data.rb
.error(exception) ⇒ Object
42 43 44 45 46 47 48 |
# File 'lib/oats/test_data.rb', line 42 def TestData.error(exception) raise exception unless TestData.current_test error = [exception.class.to_s,exception., exception.backtrace] TestData.current_test.errors << error TestData.current_test.status = 1 @@pause_after_error = true end |