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

How do I start with Python project? #79

Closed
felipe1982 opened this issue Jan 13, 2022 · 3 comments
Closed

How do I start with Python project? #79

felipe1982 opened this issue Jan 13, 2022 · 3 comments

Comments

@felipe1982
Copy link

mkdir coverage
pytest --cov > coverage/lcov.info

Is this how I initalise this extension?

@markis
Copy link
Owner

markis commented Jan 14, 2022

Does pytest output a lcov version of the coverage? The extension only supports the lcov format.

@kasanitej
Copy link

@felipe1982 did you find any solution? I can see pytest --cov only generate xml or html or annotate

@markis
Copy link
Owner

markis commented Mar 15, 2022

Looks like coverage.py can output lcov, now. And you should be able use coverage.py to run pytest tests.

nedbat/coveragepy#587 (comment)

@markis markis closed this as completed Mar 15, 2022
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

3 participants