-
Notifications
You must be signed in to change notification settings - Fork 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
Rewrite tests to use a local Viper instance #1700
Comments
👋 Thanks for reporting! A maintainer will take a look at your issue shortly. 👀 In the meantime: We are working on Viper v2 and we would love to hear your thoughts about what you like or don't like about Viper, so we can improve or fix those issues. ⏰ If you have a couple minutes, please take some time and share your thoughts: https://forms.gle/R6faU74qPRPAzchZ9 📣 If you've already given us your feedback, you can still help by spreading the news, https://twitter.com/sagikazarmark/status/1306904078967074816 Thank you! ❤️ |
Hi @sagikazarmark , Thanks for your work. i have used viper recently and would like to help with this. Are you referring to test like these Line 677 in 5870123
Line 687 in 5870123
Line 698 in 5870123
i see some of the test are already using Line 296 in 5870123
any additional hints or pointers you can provide would be immensely helpful. Thanks |
Hey @smukk9 ! Thanks for the kind words! Yes, these are exactly the kind of tests that I'd like to see refactored. They currently use the global Viper instance which requires all tests to reset Viper first and makes parallelization nearly impossible. Ideally, each test should initialize their own Viper instance. |
Preflight Checklist
Problem Description
Most tests currently use the global Viper instance which causes all kinds of trouble between tests.
Proposed Solution
Rewrite tests to initialize a new, local Viper instance.
Alternatives Considered
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: