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

Add "global" timeout #190

Closed
aviramha opened this issue Mar 22, 2023 · 1 comment · Fixed by #191
Closed

Add "global" timeout #190

aviramha opened this issue Mar 22, 2023 · 1 comment · Fixed by #191

Comments

@aviramha
Copy link
Contributor

We often find ourselves adding the same timeout proc macro to each test and would love if we could set it in a global level then override on a function level.
I was thinking of adding RSTEST_TIMEOUT environment variable to control it then logic would be if function timeout exists - use that, if not, try to use RSTEST_TIMEOUT.

I can send a PR if the idea makes sense.

@la10736
Copy link
Owner

la10736 commented Mar 22, 2023

Yes, it have sense.

THX

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

Successfully merging a pull request may close this issue.

2 participants