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
When I worked on zc.zdaemonrecipe the config tool generated a coverage call like coverage run -m zope.testrunner --test-path=src [].
The src thing left aside (I changed it to zc), this still did not work until I deleted the --test-path option.
So this worked: coverage run -m zope.testrunner
I never use coverage, only pytest-cov, so I have no clue how to configure coverage correctly.
coverage run-test: commands[0] | coverage run -m zope.testrunner --test-path=zc
Test-module import failures:
Module: zdaemonrecipe.tests
ModuleNotFoundError: No module named 'zdaemonrecipe'
Test-modules with import problems:
zdaemonrecipe.tests
Total: 0 tests, 0 failures, 1 errors and 0 skipped in 0.000 seconds.
Coverage.py warning: No data was collected. (no-data-collected)
ERROR: InvocationError for command /home/jugmac00/Repos/zopefoundation/zc.zdaemonrecipe/.tox/coverage/bin/coverage run -m zope.testrunner --test-path=zc (exited with code 1)
The text was updated successfully, but these errors were encountered:
When I worked on zc.zdaemonrecipe the config tool generated a coverage call like
coverage run -m zope.testrunner --test-path=src []
.The src thing left aside (I changed it to zc), this still did not work until I deleted the --test-path option.
So this worked:
coverage run -m zope.testrunner
I never use coverage, only pytest-cov, so I have no clue how to configure coverage correctly.
The text was updated successfully, but these errors were encountered: