[openstack-dev] [Neutron][ML2] Unit test coverage
Amir Sadoughi
amir.sadoughi at RACKSPACE.COM
Wed Dec 18 20:46:25 UTC 2013
I’ve run the tests again with `coverage report -m` to show the line-by-line numbers of statements that weren’t executed.
(.venv)amir at dev:~/neutron$ git log HEAD --pretty=oneline | head -n 1
51bef83fecfd6ccf7bf1f9ba3d14bbab0c205949 Merge "Midonet plugin: Fix source NAT”
fox -e cover neutron.tests.unit.ml2: http://paste.openstack.org/show/55372/
tox -e cover neutron.tests.unit.openvswitch.test_ovs_neutron_agent: http://paste.openstack.org/show/55373/
tox -e cover neutron.tests.unit.linuxbridge.test_lb_neutron_agent: http://paste.openstack.org/show/55374/
fox -e cover neutron.tests.unit.ml2 (filtered, sorted): http://paste.openstack.org/show/55375/
Amir
On Dec 12, 2013, at 4:48 PM, Amir Sadoughi <amir.sadoughi at rackspace.com> wrote:
> 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
>
>
> _______________________________________________
> 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