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

dev: add cache to tests #131

Open
EvolveArt opened this issue Jul 4, 2024 · 0 comments
Open

dev: add cache to tests #131

EvolveArt opened this issue Jul 4, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@EvolveArt
Copy link
Contributor

We can use devnet loading/dumping with pickle to save time in running python tests as initial setup state will always be the same for each test.

We should implement a cached_state fixture that checks if there exists come pickle file and if so calls the /load rpc endpoint on the devnet. If it's not present it will call the /dump rpc endpoint at the end of the current fixture or test.

@EvolveArt EvolveArt added the enhancement New feature or request label Jul 4, 2024
@EvolveArt EvolveArt moved this to Backlog in Pragma Backlog Jul 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Backlog
Development

No branches or pull requests

1 participant