ocornut / imgui_test_engine

Dear ImGui Automation Engine & Test Suite
386 stars 40 forks source link

Add '-list-tests' cmdline option #28

Closed akmal-threepointsix closed 10 months ago

akmal-threepointsix commented 11 months ago

Test: 'category' 'name'

image

What you might not like:

Why I opened this PR?

akmal-threepointsix commented 11 months ago

Btw, I am coming from The Open-Smartwatch project (https://github.com/Open-Smartwatch/open-smartwatch-os).

We use ImGUI in our emulator, so we wrote our UI tests using ImGUI Test Engine. The code is quite ugly, but demo videos look cool:

ocornut commented 10 months ago

Hello,

Thanks for this. I have merged your commit as 1605937 then amended it with 4ab8e39. Renamed the option to "-list", made it support filters (e.g. -list "^table") and exposed test list and test queue.

Great to see the test engine useful for your project!