Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't work with python coverage #241

Open
ndt080 opened this issue Mar 23, 2023 · 3 comments
Open

Don't work with python coverage #241

ndt080 opened this issue Mar 23, 2023 · 3 comments

Comments

@ndt080
Copy link

ndt080 commented Mar 23, 2023

image

@ndt080 ndt080 changed the title Don't work with pyhon coverage Don't work with python coverage Mar 23, 2023
@slavcodev
Copy link
Owner

I'm not familiar with python, which format is used there for coverage?

@ndt080
Copy link
Author

ndt080 commented Mar 24, 2023

coverage.zip
my coverage.xml file

<?xml version="1.0" ?>
<coverage version="6.5.0" timestamp="1679583652163" lines-valid="1434" lines-covered="1273" line-rate="0.8877" branches-covered="0" branches-valid="0" branch-rate="0" complexity="0">
	<!-- Generated by coverage.py: https://coverage.readthedocs.io -->
	<!-- Based on https://raw.githubusercontent.com/cobertura/web/master/htdocs/xml/coverage-04.dtd -->
	<sources>
		<source>/src</source>
	</sources>
	
	...

@slavcodev
Copy link
Owner

slavcodev commented Mar 24, 2023

I see, it is the Cobertura format, it is not supported (yet).

There is another format this tool can generate https://coverage.readthedocs.io/en/7.2.2/cmd.html#json-reporting-coverage-json, the documentation is limited and I can't find the format of json, you can try it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants