Merge lp:~javier.collado/utah/bug1040015 into lp:utah
Status: | Merged |
---|---|
Merged at revision: | 666 |
Proposed branch: | lp:~javier.collado/utah/bug1040015 |
Merge into: | lp:utah |
Diff against target: |
195 lines (+74/-30) 5 files modified
client.py (+2/-4) utah/client/exceptions.py (+38/-16) utah/client/runner.py (+8/-2) utah/client/testcase.py (+10/-3) utah/client/testsuite.py (+16/-5) |
To merge this branch: | bzr merge lp:~javier.collado/utah/bug1040015 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Joe Talbott (community) | Approve | ||
UTAH Dev | Pending | ||
Review via email: mp+121586@code.launchpad.net |
Description of the change
Added customized error messages for each validation error. That means that when a file fails to validate, the output in the client will show the filename and the test suite/case name together with the information that is already part of the backtrace.
Some examples:
Master runlist failed to validate: '/home/
Detailed information: 'testsuites' is a required property
'utah_tests' test suite runlist invalid: 'utah_tests/
Detailed information: 'test' is a required property
'test_one' test case control file invalid: 'utah_tests/
Detailed information: 'description' is a required property
This looks reasonable to me, but I think it wouldn't hurt to have Joe take a look since he wrote the YAML stuff to begin with.