Hi Yan,

We use coverage[1] module in OpenStack which can be add threshold about the 
minimum percentage value like python-tricircleclient does[2], hopefully that 
helps.

Regards/Saludos
Victor Morales

[1] 
https://github.com/openstack/requirements/blob/master/global-requirements.txt#L366
[2] 
https://github.com/openstack/python-tricircleclient/blob/master/tox.ini#L36-L39


From: <[email protected]> on behalf of 杨艳 
<[email protected]>
Date: Friday, August 25, 2017 at 5:00 AM
To: 'Gary Wu' <[email protected]>, "[email protected]" 
<[email protected]>
Cc: "[email protected]" <[email protected]>
Subject: [onap-discuss] Automated Unit Test Code Coverage For Python code

Hi Gary,

Our team are adding Sonar inspection job for java component. But for python 
code, there is no tool to automated implementation coverage in community.
If it is possible to provide one tool like Sonar to detect the unit test code 
coverage based python automatically.
I think several projects code by python have this problem. If the community can 
provide an automated process for python, it will be great help for these 
projects.


Thanks,
Yan


_______________________________________________
onap-discuss mailing list
[email protected]
https://lists.onap.org/mailman/listinfo/onap-discuss

Reply via email to