Merge lp:~roadmr/checkbox/cdts-report-2-exporter-non-boolean-options-xml-client-name-option into lp:checkbox
Status: | Merged |
---|---|
Approved by: | Zygmunt Krynicki |
Approved revision: | 2866 |
Merged at revision: | 2864 |
Proposed branch: | lp:~roadmr/checkbox/cdts-report-2-exporter-non-boolean-options-xml-client-name-option |
Merge into: | lp:checkbox |
Diff against target: |
254 lines (+144/-20) 5 files modified
plainbox/plainbox/impl/commands/test_run.py (+1/-1) plainbox/plainbox/impl/exporter/__init__.py (+52/-5) plainbox/plainbox/impl/exporter/test_init.py (+40/-0) plainbox/plainbox/impl/exporter/test_xml.py (+36/-5) plainbox/plainbox/impl/exporter/xml.py (+15/-9) |
To merge this branch: | bzr merge lp:~roadmr/checkbox/cdts-report-2-exporter-non-boolean-options-xml-client-name-option |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Zygmunt Krynicki (community) | Approve | ||
Review via email: mp+213723@code.launchpad.net |
Commit message
plainbox:
Description of the change
Adds support for non-boolean options in the option-string for exporters. This is leveraged to add the client-name setting to the xml exporter, which in turn results in this information showing in the HTML report. I did this in three small steps:
16f8fa4 plainbox:
763b4ab plainbox:exporter: Add support for non-boolean options using "=".
1606e15 plainbox:exporter: Change _option_list into a property.
Other than the test suite, this can be verified manually quite easily. Set up a working venv, then run:
plainbox run -w plainbox-
Even if no tests are run (due to running from source) the html report should show "This report was created using CUSTOM_CLIENT_NAME 0.6.0" at the top.
+1