Merge lp://staging/~anybox/ocb-server/7.0-test-report into lp://staging/ocb-server
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Holger Brunn (Therp) | ||||
Approved revision: | 5254 | ||||
Merged at revision: | 5294 | ||||
Proposed branch: | lp://staging/~anybox/ocb-server/7.0-test-report | ||||
Merge into: | lp://staging/ocb-server | ||||
Diff against target: |
142 lines (+45/-17) 4 files modified
openerp/modules/loading.py (+12/-4) openerp/tools/assertion_report.py (+12/-4) openerp/tools/convert.py (+12/-8) openerp/tools/yaml_import.py (+9/-1) |
||||
To merge this branch: | bzr merge lp://staging/~anybox/ocb-server/7.0-test-report | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Holger Brunn (Therp) | code review | Approve | |
Raphaël Valyi - http://www.akretion.com | Approve | ||
Leonardo Pistone | code review | Approve | |
Review via email: mp+207978@code.staging.launchpad.net |
Description of the change
The core of OpenERP already has a system to report test failures (data loading, YML tests, true unit tests).
This non too-intrusive change enhances it to record more detail, allowing the launcher process to end with a useful summary.
There is a matching branch of openerp-command/7.0 that simply prints the data at the end of the test of all modules. It is I believe already enough to help maintainers quickly get an idea of the errors and dispatch them accordingly.
Here's a sample output for the current broken tests in OCB:
FAIL : 2 failure(s) or error(s) have been recorded
Module account_payment, in test file u'test/
Module purchase_
See http://
Hi Georges,
thanks, this is a great help in identifying failed tests! I'd love to have this available. However, the OCB-policy dictates that this patch would also be proposed to upstream OpenERP. Do you have such a proposal ready? To be able to quickly identify the status of this change in all projects, you should make a wishlist bug report that you link to both branches.