You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The init files are all empty (no code). Based on my own counting of lines running the various sub packages should be covered by ~50-75% for each one I have but they are reporting at 0%.
Any assistance is greatly appreciated; I'm working on documenting how to set all this up inside containers as part of automated build processes for python projects.
The text was updated successfully, but these errors were encountered:
Hey Folks,
I'm not sure it is related to this: #117 ; I don't believe it is, but it could be.
I have a test structure like this:
app
init.py
RootModule1
RootModule2
tests
test_RootModule1
test_RootModule2
pytest appears to effectively find all of my tests and run them. The problem is with coverage. My coverage report looks as follows:
app
init.py 100%
RootModule1 100%
RootModule2 100%
The init files are all empty (no code). Based on my own counting of lines running the various sub packages should be covered by ~50-75% for each one I have but they are reporting at 0%.
My test command is as such:
pytest --doctest-modules --junitxml=/tests/junit/test-results.xml --cov=app /tests --cov-report=xml:/tests/junit/coverage.xml --cov-report=html:/tests/junit/cov_html
Any assistance is greatly appreciated; I'm working on documenting how to set all this up inside containers as part of automated build processes for python projects.
The text was updated successfully, but these errors were encountered: