Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Decorator to disable a test rerunning #187

Open
dchebakov opened this issue Apr 26, 2022 · 1 comment
Open

Decorator to disable a test rerunning #187

dchebakov opened this issue Apr 26, 2022 · 1 comment

Comments

@dchebakov
Copy link

Hi, thanks for such a helpful library! While using this library I encountered a test suit that deals badly with the rerunnig. Basically, that test spawns multiple threads on reruns and pytest never exits, but I want to keep the other test to be able to rerun with the provided global flags options --rerun, etc, so my question is is it currently possible to decorate one test suit so it wouldn't rerun on failure?

@icemac
Copy link
Contributor

icemac commented Apr 27, 2022

Currently this is not possible. A pull request would be welcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants