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

TST Increase coverage for unittest - base objects #223

Open
drewejohnson opened this issue Aug 9, 2018 · 0 comments
Open

TST Increase coverage for unittest - base objects #223

drewejohnson opened this issue Aug 9, 2018 · 0 comments
Labels
help wanted pythonicness testing Related to our test suite
Projects

Comments

@drewejohnson
Copy link
Collaborator

Summary of issue

serpentTools/objects/base.py is currently at 32% coverage. I have attached an annotated report using coverage that shows which lines are untested

Code for reproducing the issue

$ git checkout develop
$ git pull
$ python setup.py install
$ coverage run setup.py test
$ coverage report

Generate the html document attached with
$ coverage html

Expected outcome

Get this number up to >70% with extra internet points for 90-100%. Most of this is due to plotting that is not covered by our unittests, but is covered in our testNotebooks.sh script

Versions

  • Version from serpentTools.__version__ 0.5.2+15.gb1d86b1 ⬅️ b1d86b1

  • Python version - python --version 3.5.2

coverage for serpentTools/objects/base.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted pythonicness testing Related to our test suite
Projects
Main
To do
Development

No branches or pull requests

1 participant