mastodon.gamedev.place is one of the many independent Mastodon servers you can use to participate in the fediverse.
Mastodon server focused on game development and related topics.

Server stats:

5.7K
active users

Announcing 'Dear ImGui Test Engine' + 'Dear ImGui Test Suite', available now.
- automation/testing for Dear ImGui apps/tools;
- run in your live app or headless on CI;
- run at robot speed or simulated human speed;
- export screens/videos for e.g. generating docs;

github.com/ocornut/imgui_test_

Been working on this on the side since 2018, used it to test Dear ImGui itself & catch regressions. @rokups and I added many tests over time.

Opening it for people to add tests to their own app/tools. If you can control e.g. your game/engine via tools, you can now automate them.

@ocornut @rokups That is going to be very interesting for Avoyd. Thanks for all your work!

@juulcat @rokups Happy to help if you need for setting up!

@juulcat @ocornut @rokups The API and example code looks pretty straight forward.

The hard part might be fixing some of our functions written on top of ImGui to work well - for example ItemCheck won't work with our checkboxes as is. Additionally some of our widgets IDs depend on their state.

@dougbinks @juulcat if you gave a custom checkbox, there is one macro to call to pass extra state/semantic, see trailing code in CheckBox()