Unit testing?
#2481
Replies: 2 comments 2 replies
-
I think you can build an app like normally, but only add the necessary plugins and not all default plugins like rendering and windowing. Then you can use |
Beta Was this translation helpful? Give feedback.
1 reply
-
https://github.com/bevyengine/bevy/blob/main/tests/how_to_test_systems.rs |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
If bevy could support some form of unit-testing out of the box it would be nice.
For example, I have simulation as separate plugin/crate. And I imagine test process as : in that crate "test" make bevy::app, spawn several entities, attach systems, run n-cycles, and then verify that entities have desired values. And I mean native rust-tests.
Beta Was this translation helpful? Give feedback.
All reactions