question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

CI Testing and Code Coverage

See original GitHub issue

I see the Travis script uses pytest-cov, does this test runner report code coverage?

Do you, @akaszynski, by chance have the coverage reported to a service like codecov?

This would be a major help for me to figure out what still needs testing as I’ve added quite a bit of untested code in the last 24 hours

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
akaszynskicommented, Dec 20, 2018

I’ve yet to take the time to get travis-ci talking with codecov. As much as I don’t want to, I have to test it locally as it can’t be 100% tested without X11. If I were you, I’d test for coverage locally with:

pytest --cov vtki --cov-report html

I’ll look into adding support for a coverage report. BTW, thanks for adding the tests!

0reactions
banesullivancommented, Dec 22, 2018

I think I figured it out! See #31

Read more comments on GitHub >

github_iconTop Results From Across the Web

CI/CD Basics & Code Coverage
Code coverage analysis is measuring how well your unit tests exercise the production code. ▫Code coverage works like this: 1. Compile the project...
Read more >
Adding test coverage to your CI pipeline | Coveralls and CircleCI
You push changes to your code at your SCM (ie. · Your CI service builds your project, runs your tests, and generates your...
Read more >
Test coverage visualization - GitLab Docs
With the help of GitLab CI/CD, you can collect the test coverage information of your favorite testing or coverage-analysis tool, and visualize this ......
Read more >
What is Code Coverage? | Atlassian
Code coverage is a metric that can help you understand how much of your source is tested. It's a very useful metric that...
Read more >
Including Code Coverage in a Continuous Integration Process
The process for producing code coverage results (as binary .tcz results files) from applications running under a Continuous Integration (CI) system is the ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found