3b2946891d- update to 5.1.0: * Fixed broken hooks handling on pytest 8.1 or later (the TypeError: import_path() missing 1 required keyword-only argument: 'consider_namespace_packages' issue). Unfortunately this sets the minimum supported pytest version to 8.1. * Fixed bad fixture check that broke down then nbmake was enabled. * Dropped support for now EOL Python 3.8. Also moved tests suite to only test the latest pytest versions (8.3.x). * Fix generate parametrize tests benchmark csv report errors (issue #268). Contributed by Johnny Huang in #269. * Added the --benchmark-time-unit cli option for overriding the measurement unit used for display. Contributed by Tony Kuo in #257. * Fixes spelling in some help texts. Contributed by Eugeniy in #267. * Added new cprofile options: --benchmark-cprofile-loops=LOOPS - previously profiling only ran the function once, this allow customization. --benchmark-cprofile-top=COUNT - allows showing more rows. --benchmark-cprofile-dump=[FILENAME- PREFIX] - allows saving to a file (that you can load in snakeviz, RunSnakeRun or other tools). * --benchmark-cprofile-loops=LOOPS - previously profiling only ran the function once, this allow customization. * --benchmark-cprofile-top=COUNT - allows showing more rows. * --benchmark-cprofile-dump=[FILENAME-PREFIX] - allows saving to a file (that you can load in snakeviz, RunSnakeRun or other tools). * Removed hidden dependency on py.path (replaced with pathlib).
devel
Dirk Mueller2024-11-25 12:43:50 +00:00
8aecf3cf88Accepting request 1157060 from devel:languages:python:pytestAna Guerrero2024-03-13 21:16:36 +00:00
0f2466043a- Modify the py311.patch to fix the test_abort_broken test, instead of disabling.Daniel Garcia2023-01-17 13:05:08 +00:00
cf4c34bdbf- Add py311.patch to make it compatible with python 3.11, gh#ionelmc/pytest-benchmark#232 - Disable broken test_abort_broken, this test is broken because the output of the tests is a bit different with python 3.11 so we can disable until it's fixed.Daniel Garcia2023-01-17 12:57:36 +00:00
5570adb906- Update to 4.0.0: * Dropped support for legacy Pythons (2.7, 3.6 or older). * Switched CI to GitHub Actions. * Removed dependency on the py library (that was not properly specified as a dependency anyway). * Fix skipping test in test_utils.py if appropriate VCS not available. Also fix typo. Contributed by Sam James in #211. * Added support for pytest 7.2.0 by using pytest.hookimpl and pytest.hookspec to configure hooks. Contributed by Florian Bruhin in #224. * Now no save is attempted if --benchmark-disable is used. Fixes#205. Contributed by Friedrich Delgado in #207.Daniel Garcia2022-11-30 07:46:17 +00:00
ed463351e0- Update to 3.2.3: * Fixed "already-imported" pytest warning. Contributed by Jonathan Simon Prates in #151. * Fixed breakage that occurs when benchmark is disabled while using cprofile feature (by disabling cprofile too). * Dropped Python 3.4 from the test suite and updated test deps. * Fixed pytest_benchmark.utils.clonefunc to work on Python 3.8.
Tomáš Chvátal
2020-01-13 14:15:11 +00:00
b53e18694b- Disable tests for now, the output from pytest changed quite a bit and upstream needs to adapt it for pytest5. The plugin actually works, it just fails its own testsuite...
Tomáš Chvátal
2019-07-22 08:31:10 +00:00