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 573 pytest issues
Sort by recently updated
recently updated
newest added

We might get exceptions from multiple steps of teardown, and now we have a way of reporting more than one! Fixes #8217.

type: refactoring

- [x] a detailed description of the bug or problem you are having - [x] output of `pip list` from the virtual environment you are using ``` attrs (22.1.0) Faker...

```python @pytest.mark.parametrize( "string1", [ pytest.param("test1", id="unicode in id い") ]) def test_unicode_in_param_id(string1:str) -> None: assert string1 == "test1" ``` running it with `pytest -v test.py` gives me ``` platform darwin...

type: enhancement
topic: reporting
topic: selection

- [x] a detailed description of the bug or problem you are having - [x] output of `pip list` from the virtual environment you are using - [x] pytest and...

status: needs information

#### What's the problem this feature will solve? Currently we cannot easily grasp the summary of underlying fails/errors which happened on CIs (logs archived using https://github.com/con/tinuous/) because "short test summary...

type: enhancement
topic: reporting

Suppose my tests are in a well-marked file such as `test_queue.py`. It doesn't make sense to name tests in the form `test_queue_starts_empty()`, `test_queue_size_increases_after_push()`, and so forth, because I know they're...

type: proposal

### Bug I was adding tests as a user to a project that contains a symlinked subfolder owned by root (so I don't have access to it as my normal...

type: bug
topic: collection

In #3396, I'm exploring a fix for namespace packages, but the fix requires the use of `import-mode=importlib`. When I [enable that setting on configparser](/jaraco/configparser/tree/pytest-import-mode-importlib), it fails with: ``` ModuleNotFoundError: No...

topic: collection
topic: config

Originally reported by: **Ronny Pfannschmidt (BitBucket: [RonnyPfannschmidt](http://bitbucket.org/RonnyPfannschmidt), GitHub: [RonnyPfannschmidt](http://github.com/RonnyPfannschmidt))** --- we need a way to filter the bits of a traceback that are framework code since in normal development they...

type: enhancement
topic: tracebacks