pytest-dev / pytest-dev/pytest

hook/mechanism to await awaitable results of fixtures/test results (asyncio/anyio/trio)

Open
#9,962 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

type: proposal
Dominant language
Python
Stars
14.5k
Forks
3.4k
Avg merge
2d 9h
Merged PRs (30d)
35

Description

currently pytest plugins have to replicate a number of mechanisms to handle async fixtures

#207 was originally intended to help with that, but was more broad than necessary

with #7337 being soon integrated,
the interface should be narrowed and coordinated with the asyncio/trio/curio plugins

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the issue and the referenced discussions in #207 and #7337, then examine how existing asyncio, anyio, trio, and curio plugins currently handle async fixtures and results. The work is done when a narrowed hook interface is defined and coordinated with those plugins, with the scope agreed by the maintainers.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
testing-qa
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.