diff options
author | toolonely <lonely_@tutanota.com> | 2022-04-23 03:49:27 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-04-24 01:47:12 +0700 |
commit | 41841a8d7da9d713f89c7e2dbc8e484a83ef0ab6 (patch) | |
tree | 8ad65780da6c5236f9bb4d56980721846b8cec18 /python/python3-pytest-cov/README | |
parent | 1d820f5274135cb2d0992df807e51745ef6a9f2a (diff) |
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>
Diffstat (limited to 'python/python3-pytest-cov/README')
-rw-r--r-- | python/python3-pytest-cov/README | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/python/python3-pytest-cov/README b/python/python3-pytest-cov/README new file mode 100644 index 0000000000000..0e37bd4e57ec7 --- /dev/null +++ b/python/python3-pytest-cov/README @@ -0,0 +1,15 @@ +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-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. + |