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

Increase test coverage #36

Open
Pennycook opened this issue Jan 26, 2024 · 3 comments
Open

Increase test coverage #36

Pennycook opened this issue Jan 26, 2024 · 3 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@Pennycook
Copy link
Contributor

Our test coverage is currently only around 89%, which may be hiding some bugs.

A simple way to compute coverage statistics:

python -m coverage run -m unittest
python -m coverage report
@Pennycook Pennycook added enhancement New feature or request help wanted Extra attention is needed labels Jan 26, 2024
@Pennycook Pennycook added this to the 1.3.0 milestone Jan 26, 2024
@laserkelvin
Copy link
Contributor

Should probably consider adding a coverage badge as well?

@Pennycook
Copy link
Contributor Author

Should probably consider adding a coverage badge as well?

Yes, good idea. It would be good to have this as part of the CI.

@Pennycook Pennycook mentioned this issue Feb 6, 2024
6 tasks
@Pennycook
Copy link
Contributor Author

As part of this issue, we should also refactor bin/codebasin so that the functionality can be tested by unittest.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants