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

test coverage #3

Open
keewis opened this issue Mar 17, 2020 · 0 comments
Open

test coverage #3

keewis opened this issue Mar 17, 2020 · 0 comments

Comments

@keewis
Copy link
Owner

keewis commented Mar 17, 2020

The test coverage is not ideal right now:

Name                                    Stmts   Miss  Cover
-----------------------------------------------------------
blackdoc/__init__.py                       10      5    50%
blackdoc/blacken.py                        34     22    35%
blackdoc/classification.py                 13      2    85%
blackdoc/formats/__init__.py               20     12    40%
blackdoc/formats/doctest.py                38      4    89%
blackdoc/formats/none.py                    9      0   100%
blackdoc/formats/register.py               13      1    92%
blackdoc/tests/__init__.py                  0      0   100%
blackdoc/tests/data.py                      4      0   100%
blackdoc/tests/test_blacken.py              6      0   100%
blackdoc/tests/test_classification.py      32      0   100%
blackdoc/tests/test_doctest.py             21      0   100%
blackdoc/tests/test_none.py                17      0   100%
-----------------------------------------------------------
TOTAL                                     217     46    79%

so let's increase it. Most of the needed tests are integration tests, though, which are a little bit harder to write.

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