-
As we are getting closer to the target version 1.0, we need to provide a full DevOps setup:
- A CI/CD pipeline
- Define the versioning and tagging of the project. Proposal: [Semantic Versioning](h…
nauar updated
1 month ago
-
I need to run `aiohttp` server and use `playwright` in tests at the same time.
Am I right that `pytest-playwright` right now can't help me with that?
It provides fixtures only for sync API. But I …
-
running pytest==4.1.0
got this error
```
_____________________ ERROR collecting tests/test_quote.py _____________________
Fixture "conftest_dir" called directly. Fixtures are not meant to be ca…
-
Given a factory with traits, pytest_factoryboy should treat them as normal params, and allow them to be parametrized.
MCVE:
```python
@dataclass
class Article:
comments: int
views: i…
-
If a fixture has an assumption failure and an error, then the assumption failure is not cleared, and it will look like the subsequent test failed with that assumption failure.
I am working on a fix…
-
### Issue
`params` on fixtures that are shadowed but used are silently dropped.
### Example
```python
@pytest.fixture
def b(a): return a
@pytest.fixture(name="a", params=("inner", "near"))
…
-
### Is Your Feature Request Related to a Problem? Please Describe
In general it makes sense to only generate `pytest.fixture` once, unless it's required to not do that https://docs.pytest.org/en/6.2.…
-
I have created a minimal case:
```
$ tree .
.
├── dir1
│ └── dir2 -> ../dir2
└── dir2
└── test_fixture.py
$ cat dir2/test_fixture.py
import pytest
@pytest.fixture
def i_am_a_fixtu…
-
## 🐛 Bug
If a pytest test uses `async` stuff, there's no apparent way to run the test properly. If the test function is defined to be synchronous and calls `asyncio.run()` internally, it raises `Ru…
-
I would like to be able to ask pytest-redis to setup a redis instance once per session so I can easily distribute it why pytest-xdist.
Why ? Well it works perfectly right now, but it's hella slow
…