Skip to content
This repository has been archived by the owner on Oct 10, 2020. It is now read-only.

Investigate code coverage within pytest #69

Open
TheCodeSummoner opened this issue Jan 4, 2020 · 3 comments
Open

Investigate code coverage within pytest #69

TheCodeSummoner opened this issue Jan 4, 2020 · 3 comments

Comments

@TheCodeSummoner
Copy link
Member

As in the title, we want to measure code coverage. Possibly display the statistics about tests passed + coverage on github too (I know there are tools to do that).

@ConnorH2525
Copy link
Contributor

Requires a plugin called pytest-cov which shows the statistics about tests passed. A coverage config file can also help get more control over how it works. However I could not find anything about it linking to github and it doesn't seem to have support for python 3.8 at the minute.

@TheCodeSummoner
Copy link
Member Author

Can we see some examples please?

@ConnorH2525
Copy link
Contributor

ConnorH2525 commented Feb 1, 2020

Have added how to generate coverage report to README in tests. Still working on integration with GitHub. The pytest-cov I mentioned previously provides some more functionality but I don't think it will be useful for us.

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

No branches or pull requests

2 participants