slackbuilds_ponce/python/python3-pytest-cov/README
toolonely 41841a8d7d
python/python3-pytest-cov: Added (coverage plugin for pytest)
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2022-04-24 01:47:12 +07:00

15 lines
613 B
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This pytest 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-xdists 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-covs command line options or through coverages
config file.