-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
feat: introduce retry
option for tests
#1929
Conversation
Can we show anything about retries in terminal for debugging? |
What would the format be like in your mind? Like |
I think we should give brief description about errors, not just the counter. |
Can you share a more detailed layout/text design, or directly push/pr to this branch? |
tbh this question is why I didn't start this PR by myself 😄 I feel like we need some kind of indicator, but I have poor imagination 😃 |
I will start with indicators and leave it for future improvements then |
Can we add a global option for this? |
I am not yet sure if we want the global option for this tbh. We already support describe level and it should be enough for now I think. |
Today I looked for a way to configure retries globally and I came across this PR. I was hoping to configure test retries globally in CI (where resources are limited and it makes my tests flakier). I had assumed there would be an option in my vite configuration where I could configure it based on something like |
Yeah, that would be awesome if we can have this option globally since CI is just unstable sometimes. The approach that |
Is there an option to specify |
I would recommend opening an enhancement issue if you need something, |
close #1057