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

coverage run: add a -o option #1304

Closed

Commits on Jan 15, 2022

  1. coverage run: add an output option (-o)

    Similar to coverage report/xml/json, coverage run now has a -o option to
    configure the file the SQLite coverage data will be stored in. The
    default is still ".coverage", as previously.
    
    Since data_file now needs to be specified in cmdline.py,
    _DEFAULT_DATAFILE needs to be exposed (to avoid hacks like constructing
    the argument dictionary manually). Rename it to non-undescore and create
    an alias for it under the previous name (just in case someone used it
    anyway).
    nbfalcon committed Jan 15, 2022
    Configuration menu
    Copy the full SHA
    cbcdedb View commit details
    Browse the repository at this point in the history
  2. Add an input coverage option to report commands

    -o for coverage run is not very useful if the commands that consume
    coverage and generate reports/coverage (json/xml/html/combine ...) can't
    take that file as input, so add a -c/--input-coverage option for these
    commands.
    nbfalcon committed Jan 15, 2022
    Configuration menu
    Copy the full SHA
    477fd70 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2e7ed00 View commit details
    Browse the repository at this point in the history
  4. Fix input_coverage ignored

    nbfalcon committed Jan 15, 2022
    Configuration menu
    Copy the full SHA
    6cda394 View commit details
    Browse the repository at this point in the history

Commits on Jan 21, 2022

  1. Use --data-file to configure the coverage database

    Request by maintainer.
    nbfalcon committed Jan 21, 2022
    Configuration menu
    Copy the full SHA
    2316b42 View commit details
    Browse the repository at this point in the history