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

100% test coverage #52

Closed
paulmelnikow opened this issue Sep 17, 2019 · 1 comment
Closed

100% test coverage #52

paulmelnikow opened this issue Sep 17, 2019 · 1 comment

Comments

@paulmelnikow
Copy link
Member

For a library like this, 100% test coverage ought to be a given.

Here are a few reasons:

  1. Tests beget tests – having tests in place ensures that tests get written when code is changed or new paths are added.
  2. Tests that cover the edge-case code ensures the code for those edge cases actually works.
  3. Once we reach 100% we can also set pytest to enforce it. That way we'll know that all new code is covered without having to dig through coverage reports.

I've made some progress, and coverage is up to 79%!

In the meantime, until the projects reaches 100%, all new code should have 100% coverage.

@paulmelnikow
Copy link
Member Author

After merging #81, Coverage is up to 87%!

I split out the remaining gaps into separate issues. They all involve a little bit more than testing:

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