[openstack-dev] [tempest] API testing coverage in tempest
jordan.pittier at scality.com
Tue Mar 3 09:19:06 UTC 2015
A long time ago, I was asked to do the same job. I tried to come up with a
"programmed" way of doing this.
For some openstack component, there's a python object called "router" which
holds the routes (the URLs that form the API).
For nova :
For glance :
For cinder :
If you inspect this object (and more precisely what is called 'the mapper')
you can get all the URLs that form the API. Then you could "sanitize" the
Then, you run Tempest with debug=True, parse all the URLs in tempest.log.
Finally you make a match (comparison) between the URLs in tempest.log and
the URLs defined in the 'mapper' of each project.
Does it make sense ?
Hope it helps,
On Tue, Mar 3, 2015 at 8:28 AM, Rohan Kanade <openstack at rohankanade.com>
> So i have been tracking API test coverage in tempest in a ad-hoc way where
> i check the actual tempest tests and the API documentation for that
> specific component eg. Neutron
> Is there a better way or documentation maintained by Tempest team for data
> about API test coverage per OpenStack project?
> Rohan Kanade
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the OpenStack-dev