-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
cli: allow separate test suites with separate local-validators (when testing on localnet) #1658
Comments
re: #1261 (comment)
those alone justify a separate config for me.
cause this isn't clean. one of the benefits you get by splitting up the tests into separate suites is that you get truly separate validators that are not polluted with unintended state. this would make that separation less useful. So maybe for all other options, we have a |
It is a tradeoff, but I prefer that to the configuration complexity. I can't really think of many scenarios where I'm worried about having extra accounts loaded in my test validator. Acknowledging
Yea that works. It'd be nice if this was non breaking, and we could just keep the test settings in the root If users define |
Assuming youre using the mainnet url, using Armani and I discussed this offline and up with the following design for the dir structure. We basically do what
where the
that way you can pull your config from anywhere you like, whether it's the Anchor.toml or a separate Test.toml or even multiple this is nice cause you can upgrade easily without moving config, and it's very transparent what youre importing vs overriding which is not as transparent. Thinking ahead, this also allows for options like |
Sounds good 👍 |
clsoed by #1681 |
No description provided.
The text was updated successfully, but these errors were encountered: