Shouldn't the examples include tests? #3356
Voultapher
started this conversation in
General
Replies: 2 comments 3 replies
-
There is an example for testing systems in the repository: https://github.com/bevyengine/bevy/blob/main/tests/how_to_test_systems.rs But I agree that we could add at least one example that demonstrates how one would add tests to a minimal game. |
Beta Was this translation helpful? Give feedback.
0 replies
-
This is a pretty reasonable take :) There are a number of distinct problems here that could be addressed separately:
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I talked with someone about new age game engines getting a better grip on mutable state and the effects that should have on being able to write automated tests for games. However searching for the word
test
in theexamples/
directory showed practically no testing. Shouldn't the project provide some documentation, I couldn't find a mention of writing tests in the bevy book, and examples how to test games written with bevy?Beta Was this translation helpful? Give feedback.
All reactions