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

ci: add code coverage measurement while running the testing framework #15

Open
AngryMaciek opened this issue Sep 24, 2021 · 0 comments
Open

Comments

@AngryMaciek
Copy link

I would suggest to hook this repo up to a code coverage measurement service (I use https://about.codecov.io/) and submit code coverage measurement there.
This can be divided into two tasks.

  1. Use this package to run unit tests (defining the unittest engine) in the CI. This is essentially a wrapper package around unit testing packages(unittest, pytest, nose) that will additionally generate the line coverate report.
  2. Submit the measurement to their website (also in the CI), according to their instructions.

I assume that what you have under motevowrapper/tests serves as unit tests for the whole project.
Well, let's see how many lines they cover ;)

They will also give you a fancy shield with a coverage % value, put it in the README as well!

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

1 participant