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

Python coverage: experimental first steps #10433

Closed
wants to merge 1 commit into from

Commits on Dec 17, 2019

  1. Python coverage: experimental first steps

    - Add lcov_merger as an attribute to the py_test rule so that it does
      not immediately fall over
    - Add a small section to python_stub_template.txt to perform minimal
      setup for coverage integration
    
    I was able to get this to work manually by using a modified version of
    coverage.py, see:
    nedbat/coveragepy#863
    
    Note that the patch does not work out of the box.
    
    It's basically ~impossible to add integration tests until we get a
    working version of coverage.py, but this is the minimum change required
    in Bazel to get a basic working version.
    ulfjack committed Dec 17, 2019
    Configuration menu
    Copy the full SHA
    6e9d55e View commit details
    Browse the repository at this point in the history