Improve error reporting on run control evaluation
This commit is contained in:
@@ -7,3 +7,12 @@ Feature: run control file evaluation
|
||||
"""
|
||||
When I start uhwm
|
||||
Then the output must contain "run control evaluation"
|
||||
|
||||
Scenario: reports run control code in backtrace on errors
|
||||
Given a run control file with:
|
||||
"""
|
||||
'no error on first line'
|
||||
fail 'fails on second line'
|
||||
"""
|
||||
When I start uhwm
|
||||
Then the output must match /\.uhwmrc\.rb:2:.+fails on second line/
|
||||
|
Reference in New Issue
Block a user