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

use process_to_action to more #70

Open
michaeljb opened this issue Jun 25, 2024 · 0 comments
Open

use process_to_action to more #70

michaeljb opened this issue Jun 25, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@michaeljb
Copy link
Owner

There are a lot of tests which use the same fixture loaded to different points in the game, but they have to reprocess the game. Tests like that would be more efficient if they could just use process_to_action to jump to the next relevant point instead.

This is only really applicable for tests that don't process a new action, and just inspect state. Processing a new action would require undoing it to later use process_to_action, and undoing still reprocesses the actions like reloading the fixture would. It probably still saves a little bit of processing to avoid reloading the file.

@michaeljb michaeljb added the enhancement New feature or request label Jun 25, 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
None yet
Development

No branches or pull requests

1 participant