Overview of Dear ImGui Test Engine
mainDear ImGui Test Engine is an automation system designed to test and automate Dear ImGui applications, games, and engines. It works by injecting mouse, keyboard, and gamepad inputs into Dear ImGui's IO, simulating an end-user's interaction. This allows you to test not just the UI, but any part of your application or engine exposed through the ImGui integration.
Key capabilities include:
- Functional & Smoke Testing: Automate UI interactions to verify application state.
- Headless Execution: Run GUI tests on CI servers without a rendering window.
- Execution Modes: Run at simulated human speed (for video export) or in Fast Mode (using mouse teleportation for speed).
- Asset Generation: Export screenshots, videos, and GIFs for documentation or visual regression testing.
- Live Demos: Use scripts to run through application features as a live tutorial.
- Performance Monitoring: Includes tools to record and compare performance between builds (requires ImPlot).