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

[medium] Use coveralls.io to generate test coverage stats #57

Open
jseutter opened this issue Aug 29, 2013 · 2 comments
Open

[medium] Use coveralls.io to generate test coverage stats #57

jseutter opened this issue Aug 29, 2013 · 2 comments

Comments

@jseutter
Copy link
Owner

Some pull requests come in without tests, like pull #54, which are easily broken later. Test coverage stats would be a huge help to identifying which parts of the code are lacking tests, so this situation can be rectified.

http://wiki.python.org/moin/CodeCoverage is a good place to start looking. I believe Coverage and Figleaf were both good libraries and Figleaf builds on top of Coverage.

Things needed:

  • When a special command is used, the tests are run and stats are gathered.
  • A coverage report, can be html or plaintext, can be generated from the stats
  • A list of packages that this functionality depends on
  • Update the README file with this information
@iffy
Copy link
Contributor

iffy commented Apr 27, 2014

I've not used it but I've seen people use https://coveralls.io/

Also, the travis builds could make some kind of assertion about coverage. Newer versions of coverage.py let you fail if coverage doesn't meet some threshold.

@greedo
Copy link
Contributor

greedo commented Jul 30, 2014

+1 for https://coveralls.io/

Very easy to setup too!

@jseutter jseutter changed the title Need test coverage stats [medium] Use coveralls.io to generate test coverage stats Nov 12, 2016
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