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

Get coverage report with codecov. #12

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Viatorus
Copy link
Owner

@Viatorus Viatorus commented Dec 4, 2018

No description provided.

@codecov
Copy link

codecov bot commented Dec 4, 2018

Codecov Report

❗ No coverage uploaded for pull request base (master@0dbae79). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff           @@
##             master   #12   +/-   ##
======================================
  Coverage          ?    0%           
======================================
  Files             ?    15           
  Lines             ?   560           
  Branches          ?     0           
======================================
  Hits              ?     0           
  Misses            ?   560           
  Partials          ?     0

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0dbae79...2242250. Read the comment docs.

@Viatorus Viatorus force-pushed the feature/code_coverage branch from 046f867 to 622649e Compare December 4, 2018 22:18
@Viatorus Viatorus force-pushed the feature/code_coverage branch from 622649e to 2242250 Compare December 4, 2018 22:20
@Viatorus
Copy link
Owner Author

Viatorus commented Dec 4, 2018

Hello guys, I always get zero coverage... any idea how to configure tox?

Currently, I do:

commands = py.test --cov quom tests

Which results in:

tests/test_iterator.py .....                                             [ 25%]
tests/test_tokenizer.py ........                                         [ 65%]
tests/test_quom/test_normal.py .......                                   [100%]
----------- coverage: platform linux, python 3.6.3-final-0 -----------
Name                                       Stmts   Miss  Cover
--------------------------------------------------------------
quom/__init__.py                               5      5     0%
quom/__main__.py                              20     20     0%
quom/quom.py                                 101    101     0%
quom/quom_error.py                             3      3     0%
quom/tokenizer/__init__.py                     9      9     0%
quom/tokenizer/comment_tokenizer.py           49     49     0%
quom/tokenizer/iterator.py                    95     95     0%
quom/tokenizer/number_tokenizer.py            13     13     0%
quom/tokenizer/preprocessor_tokenizer.py     119    119     0%
quom/tokenizer/quote_tokenizer.py             66     66     0%
quom/tokenizer/remaining_tokenizer.py         11     11     0%
quom/tokenizer/token.py                       13     13     0%
quom/tokenizer/tokenize.py                    26     26     0%
quom/tokenizer/tokenize_error.py               5      5     0%
quom/tokenizer/whitespace_tokenizer.py        25     25     0%
--------------------------------------------------------------
TOTAL                                        560    560     0%

@Viatorus Viatorus added the help wanted Extra attention is needed label Dec 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant