pytest-dev / pytest-dev/pytest-rerunfailures
Run dependency tests
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 477
- Forks
- 107
- Avg merge
- 2d 14h
- Merged PRs (30d)
- 21
Description
Hello. How i can rerun dependency tests?
For example:
@pytest.mark.dependency()
def test_1():
@pytest.mark.dependency(depends=['test_1'])
def test_2():
@pytest.mark.dependency(depends=['test_2'])
def test_3():
if fail test_3, how i can rerun all dependency tests(test_1, test_2, test_3)?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the dependency chain shown in the issue, using test_1, test_2, and test_3 with their dependency markers. Review how the plugin handles a failure in test_3 and define the expected rerun behavior for the full chain before identifying the relevant implementation and tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- testing
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100