pytest icon indicating copy to clipboard operation
pytest copied to clipboard

The pytest framework makes it easy to write small tests, yet scales to support complex functional testing

Results 653 pytest issues
Sort by recently updated
recently updated
newest added

A file level `__test__ = False` succesfully stops `pytest` from collecting any test from that file, however when running `pytest --doctest- modules` on the same file, this error appears: ```...

plugin: doctests

Closes #1509 Note that I haven't done these yet: - [ ] Include documentation when adding new features. - [ ] Include new tests or update existing tests when applicable....

Allow for the output of test case execution to be controlled independently from the application verbosity level. `verbosity_test_case` is the new ini setting to adjust this functionality. Addresses #11639

We're skipping many of our tests and I think this is due to some missing functionality. In order to see all the skipped tests, I have to run all the...

type: proposal
topic: selection
topic: marks

To compute param indices smarter when user passes multiple parameter sets with duplicate values to `parametrize` in order to have a better reordering experience. Currently we have : ```python @pytest.fixture(scope='module')...

bot:chronographer:provided

### Problem When I look into/debug external plugins, my workflow is: - Create a venv - Run `pip install -e .` (this is with a recent pip and setuptools backend,...

type: bug
topic: rewrite

Example: https://github.com/pytest-dev/pytest/actions/runs/7408595776/job/20157160097 This doesn't always happen, maybe 50% of the time. Started in the last few days. I checked if the PyPy version changed during these days, but seems not...

type: selftests

Pytest fails with the ```INTERNALERROR``` like in the log below on many projects. Pytest also succeeds on other projects. ``` ===> py39-laspy-2.5.2 depends on file: /usr/local/bin/python3.9 - found cd /usr/ports/misc/py-laspy/work-py39/laspy-2.5.2...

topic: collection

I'm packaging `pytest` for OpenIndiana and while testing the package I noticed that some tests are failing when there is `pytest-xdist` installed and disabled using `-p no:xdist` option set in...

type: selftests