[openstack-dev] [Neutron][ML2] Unit test coverage

Amir Sadoughi amir.sadoughi at RACKSPACE.COM
Thu Dec 12 22:48:11 UTC 2013


Mathieu,

Here are my results for running the unit tests for the agents.

I ran `tox -e cover neutron.tests.unit.openvswitch.test_ovs_neutron_agent` at 3b4233873539bad62d202025529678a5b0add412 with the following result:

Name                                                             Stmts   Miss Branch BrMiss  Cover
…
neutron/plugins/openvswitch/agent/ovs_neutron_agent                639    257    237    123    57%
…

and `tox -e cover neutron.tests.unit.linuxbridge.test_lb_neutron_agent` with the following result:

...
neutron/plugins/linuxbridge/agent/linuxbridge_neutron_agent        607    134    255     73    76%
...

Amir


On Dec 11, 2013, at 3:01 PM, Mathieu Rohon <mathieu.rohon at gmail.com> wrote:

> the coverage is quite good on the ML2 plugin.
> it looks like the biggest effort should be done on the ovs and lb agents, no?
> 
> On Wed, Dec 11, 2013 at 9:00 PM, Amir Sadoughi
> <amir.sadoughi at rackspace.com> wrote:
>> From today’s ML2 meeting, I had an action item to produce coverage report
>> for ML2 unit tests.
>> 
>> Here is the command line output of the tests and report I produced:
>> 
>> http://paste.openstack.org/show/54845/
>> 
>> Amir Sadoughi
>> 
>> _______________________________________________
>> OpenStack-dev mailing list
>> OpenStack-dev at lists.openstack.org
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>> 
> 
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev




More information about the OpenStack-dev mailing list