Merge lp:~mpontillo/maas/code-coverage into lp:~maas-committers/maas/trunk
Proposed by
Mike Pontillo
Status: | Merged |
---|---|
Approved by: | Mike Pontillo |
Approved revision: | no longer in the source branch. |
Merged at revision: | 3580 |
Proposed branch: | lp:~mpontillo/maas/code-coverage |
Merge into: | lp:~maas-committers/maas/trunk |
Diff against target: |
169 lines (+54/-7) 5 files modified
.bzrignore (+3/-1) .coveragerc (+10/-0) Makefile (+20/-1) buildout.cfg (+18/-5) required-packages/dev (+3/-0) |
To merge this branch: | bzr merge lp:~mpontillo/maas/code-coverage |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Gavin Panella (community) | Approve | ||
Raphaël Badin (community) | Needs Fixing | ||
Mike Pontillo (community) | Abstain | ||
Review via email: mp+251210@code.launchpad.net |
Commit message
Run code coverage during "make test", and add build targets to generate coverage reports.
Description of the change
Change "make test" to run the coverage report. Add build targets to generate XML output (for Jenkins) or HTML output (for developers) from the coverage data.
To post a comment you must log in.
Note: python-coverage is only required if you want to create a human readable (or machine readable) report from the '.coverage' file. In the future, Jenkins should run the target to create the XML report, and expose it through the web interface. (the Cobertura plugin can be used for this.)