----- Original Message ----- > > Kevin, should we start copying openstack-common tests to client > > projects? Or just make sure to not count openstack-common code in > > the > > code coverage numbers for client projects? > > That's a tough one. If we copy in the tests, they end up being somewhat > redundant, but slow down the project unit tests, but on the other hand, > we'd be able to easily demonstrate that that code works properly. I > think I'd prefer if we just try to not count openstack-common code > for code coverage numbers…
Yep, one approach would be for the copy script to decorate the common code with whatever signals the coverage exclusion (e.g. #pragma: no cover) so that the code is counted in the openstack-common coverage metrics, but not counted after being copied into nova/glance/wherever. Cheers, Eoghan _______________________________________________ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp