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;

https://github.com/ocornut/imgui_test_engine

#imgui

GitHub - ocornut/imgui_test_engine: Dear ImGui Automation Engine & Test Suite

Dear ImGui Automation Engine & Test Suite. Contribute to ocornut/imgui_test_engine development by creating an account on GitHub.

GitHub

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!
@ocornut @rokups Noted, thanks!!

@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()