Merge lp:~bac/testrepository/bug-949950-2 into lp:~testrepository/testrepository/trunk
Proposed by
Brad Crittenden
on 2012-04-17
| Status: | Merged |
|---|---|
| Merged at revision: | 147 |
| Proposed branch: | lp:~bac/testrepository/bug-949950-2 |
| Merge into: | lp:~testrepository/testrepository/trunk |
| Diff against target: |
298 lines (+85/-29) 5 files modified
testrepository/commands/load.py (+8/-7) testrepository/commands/run.py (+9/-8) testrepository/tests/test_ui.py (+36/-5) testrepository/tests/ui/test_cli.py (+16/-6) testrepository/ui/cli.py (+16/-3) |
| To merge this branch: | bzr merge lp:~bac/testrepository/bug-949950-2 |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Jonathan Lange | 2012-04-17 | Approve on 2012-04-18 | |
|
Review via email:
|
|||
Description of the Change
As requested, a '--subunit' option was added to the run command to get results in subunit format.
The change to test_cli.py was required or 'make_results' was unhappy due to not having an 'options' attribute, so the tests were made more robust.
In response to a previous review, moved the TestResultFilter into the UI 'make_results' method and added a '--full-results' option to not do any filtering. The default is to filter as before.
To post a comment you must log in.

Hi Brad,
Thanks for the changes, it really makes a difference.
I've tweaked the tests to test behaviour rather than return type (http:// paste.ubuntu. com/935581/). Other than that, is good to land as-is. Will do so now.
jml