Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
pytest plugin for pytest-repeat that generate aggregate report of the same test cases with additional statistics details.
This pytest plugin was generated with Cookiecutter along with @hackebrot's cookiecutter-pytest-plugin template.
You can install "pytest-aggreport" via pip from PyPI:
$ pip install pytest-aggreport
Pytest will automatically find the plugin and use it when you run pytest with --count
argument (enable pytest-repeat plugin). When test is done, you will see a summary report in the terminal:
$ pytest --count=5
...
------------------------- aggregate summary report -----------------
+-------------+------+------+-------+--------+-------+-------+-------+---------+
| TestCase Na | Pass | Fail | Skipp | Pass R | AVG ( | MAX ( | MIN ( | STDDEV |
| me | ed | ed | ed | ate | s) | s) | s) | (s) |
+-------------+------+------+-------+--------+-------+-------+-------+---------+
| test_pass | 5 | 0 | 0 | 100.00 | 0.1 | 0.1 | 0.1 | 0.0 |
| | | | | % | | | | |
+-------------+------+------+-------+--------+-------+-------+-------+---------+
| test_skip | 0 | 0 | 5 | 0.00% | 0.0 | 0.0 | 0.0 | 0.0 |
+-------------+------+------+-------+--------+-------+-------+-------+---------+
| test_fail | 0 | 5 | 0 | 0.00% | 0.15 | 0.15 | 0.15 | 0.0 |
+-------------+------+------+-------+--------+-------+-------+-------+---------+
| test_xpass | 5 | 0 | 0 | 100.00 | 0.1 | 0.1 | 0.1 | 0.0 |
| | | | | % | | | | |
+-------------+------+------+-------+--------+-------+-------+-------+---------+
| test_xfail | 0 | 5 | 0 | 0.00% | 0.1 | 0.1 | 0.1 | 0.0 |
+-------------+------+------+-------+--------+-------+-------+-------+---------+
...
If pytest-html is enabled(run with --html
argument), then a summary report will also be embedded in the html report:
To disable the plugin, you can use the -p
argument, for example:
$ pytest -p no:aggreport
Contributions are very welcome. Tests can be run with tox, please ensure the coverage at least stays the same before you submit a pull request.
Distributed under the terms of the MIT license, "pytest-aggreport" is free and open source software
If you encounter any problems, please file an issue along with a detailed description.
FAQs
pytest plugin for pytest-repeat that generate aggregate report of the same test cases with additional statistics details.
We found that pytest-aggreport demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.