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
I didn't use py_pytest_main so as to provide a more minimal reproduction. But I am interested in experimenting with py_pytest_main more at some point.
I did take a quick a look at #303, but since I prefer not to use pytest-cov, it didn't seem like it would apply to me. (I agree with the reasons in https://www.youtube.com/watch?v=sPgvHGkmd0U for preferring to use coverage.py to invoke my test runner directly, as bazel coverage does with py_test targets.)
What happened?
Using
bazel coverage
with an aspectpy_test
target always results in no coverage data being collected.Version
Development (host) and target OS/architectures:
Output of
bazel --version
: aspect 5.10.1Version of the Aspect rules, or other relevant rules from your
WORKSPACE
orMODULE.bazel
file: Current latest releases. See repro linked below.Language(s) and/or frameworks involved: Python
How to reproduce
Please see https://github.com/jab/aspect-py-test-coverage-bug for a minimal reproduction.
The text was updated successfully, but these errors were encountered: