About Anaconda Help Download Anaconda

Pytest plugin for measuring coverage

Installers

  • osx-64 v6.0.0
  • linux-s390x v6.0.0
  • linux-64 v6.0.0
  • osx-arm64 v6.0.0
  • linux-aarch64 v6.0.0
  • win-64 v6.0.0
  • linux-32 v2.6.0
  • linux-ppc64le v4.1.0
  • noarch v3.0.0
  • win-32 v2.6.1

conda install

To install this package run one of the following:
conda install anaconda::pytest-cov

Description

This plugin produces coverage reports. Compared to just using coverage run this plugin does some extras: * Subprocess support: you can fork or run stuff in a subprocess and will get covered without any fuss. * Xdist support: you can use all of pytest-xdist's features and still get coverage. * Consistent pytest behavior. If you run coverage run -m pytest you will have slightly different sys.path (CWD will be in it, unlike when running pytest). All features offered by the coverage package should work, either through pytest-cov's command line options or through coverage's config file.


© 2024 Anaconda, Inc. All Rights Reserved. (v4.0.6) Legal | Privacy Policy