How do I mock Time for system tests? #2546
Unanswered
ostwilkens
asked this question in
Q&A
Replies: 2 comments 1 reply
-
You can use custom time steps |
Beta Was this translation helpful? Give feedback.
1 reply
-
For future readers, #2549 (by the same author) exposes the relevant functionality to the world. I think this is the right direction to go; let's see how that PR process works out. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I need to ensure the results of my systems are framerate-independent.
To do this, I'm thinking I need to be able to update Time with an Instant of my choosing.
There is a function for Time named update_with_instant, but it's only public to the bevy crate.
Beta Was this translation helpful? Give feedback.
All reactions