Skip to content

How to do testing? #1465

Answered by manio143
KuraiAndras asked this question in Q&A
Jul 21, 2022 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

You can check the sources for how test are written. For example physics test: CharacterTest which goes over a few frames of simulation and asserts the state of entities; example visual game test: Particles/GameTest it loads a predefined scene, runs 60 frames and then takes a screenshot which is later compared for a visual parity test.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@KuraiAndras
Comment options

Answer selected by KuraiAndras
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants