Commit Graph

3 Commits

Author SHA1 Message Date
Mitsuhiko Yamazaki 0611f19406 Add reset function to nova coverage.
Now nova coverage is standardized to accumulate coverage data.
It enables user to get combined coverage data of several tests.
In addition to it, we need to restart nova services when measuring
coverage of each test because there is no function to reset data.
This adds reset coverage data API.

Fixes bug: 1164331

Change-Id: Idd16cf3849b6510e7c620ed3bf16d507ed44c328
2013-04-08 11:41:01 +09:00
Matthew Treinish ce9867b3fa Add html reports to report action in coverage extension.
This makes a few minor cleanups and 2 additions to the
coverage extension. First, it adds a new optional field to the
report action: 'html'. This will generate an html report instead
of either the text or xml reports that the extension can
generate.

The second change is that it adds a return for the stop action.
Now upon successful completion of the stop action the directory
where the coverage data files will be returned.

Change-Id: If1aa25fc7237e9bb5100d2a4a8e560f0a68eba61
2012-12-20 15:45:45 -05:00
Matthew Treinish 2655ac9f3c Add API samples tests for the coverage extension.
Partially implements blueprint nova-api-samples
Fixes bug 1089531

Change-Id: I5b287ea210f275a0c316a28d6dc3614d107aff05
2012-12-20 15:39:20 -05:00