Opened at 2013-11-12T23:11:30Z
Closed at 2014-09-09T18:32:50Z
#2103 closed defect (duplicate)
Ensure buildbot configuration automates coverage analysis with publicly linkable reports.
Reported by: | nejucomo | Owned by: | daira |
---|---|---|---|
Priority: | normal | Milestone: | undecided |
Component: | unknown | Version: | 1.10.0 |
Keywords: | buildbot coverage | Cc: | |
Launchpad Bug: |
Description
I'm not certain whether or not the buildbot waterfall produces coverage results.
Close Criteria:
Close this ticket when:
- automated builds produce coverage information, and
- there are publicly linkable source code coverage links.
Bonus:
- Include a link to a coverage report.
Change History (4)
comment:1 follow-ups: ↓ 2 ↓ 3 Changed at 2013-11-12T23:17:03Z by nejucomo
comment:2 in reply to: ↑ 1 Changed at 2013-11-12T23:33:46Z by daira
Replying to nejucomo:
Something I would love, which should probably be a separate ticket, is a report of unittest results, and for each unittest there is a link to a coverage report for only that unittest.
I think that's hard to implement in terms of the current --coverage feature of trial.
comment:3 in reply to: ↑ 1 Changed at 2013-11-14T21:56:26Z by zooko
Replying to nejucomo:
Something I would love, which should probably be a separate ticket, is a report of unittest results, and for each unittest there is a link to a coverage report for only that unittest.
That would be awesome. I can see how to implement it using Ned Batchelder's coverage.py. You would use coverage.py's API to start tracing just before each unit test (i.e. perhaps in a setUp method), and then just after each unit test, use the coverage.py API to generate the coverage results report and put it in a place where it will be linked to from that unit test.
comment:4 Changed at 2014-09-09T18:32:50Z by daira
- Resolution set to duplicate
- Status changed from new to closed
Duplicate of #623.
Something I would love, which should probably be a separate ticket, is a report of unittest results, and for each unittest there is a link to a coverage report for only that unittest.