Skip to content

Add the ability to dynamically retry a test (or avoid retrying it) #2309

Open
@plocket

Description

@plocket

🤔 What's the problem you're trying to solve?

We want to only rerun tests that fail because of a timeout, and possibly retry them 2 or 3 times. I'm frustrated when I have to retry all tests 2 or 3 times just to be able to rerun the tests that timed out.

✨ What's your proposed solution?

One possibility is to be able to override retries in the After() hook.

⛏ Have you considered any alternatives or workarounds?

Could try manipulating the object that's handed into the After() hook, but that seems like a bad idea from the recent feedback I've had.

📚 Any additional context?


This text was originally generated from a template, then edited by hand. You can modify the template here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    plugins-usecaseA use case that could potentially by served by our nascent plugins concept

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions