Exception: Hatchet::FailedTestError
- Inherits:
-
StandardError
- Object
- StandardError
- Hatchet::FailedTestError
- Defined in:
- lib/hatchet/test_run.rb
Instance Method Summary collapse
-
#initialize(app, output) ⇒ FailedTestError
constructor
A new instance of FailedTestError.
Constructor Details
#initialize(app, output) ⇒ FailedTestError
Returns a new instance of FailedTestError.
5 6 7 8 9 10 11 |
# File 'lib/hatchet/test_run.rb', line 5 def initialize(app, output) msg = "Could not run tests on pipeline id: '#{app.pipeline_id}' (#{app.repo_name}) at path: '#{app.original_source_code_directory}'\n" << " if this was expected add `allow_failure: true` to your hatchet initialization hash.\n" << "output:\n" << "#{output}" super(msg) end |