ocornut / imgui_test_engine

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

Can we get ImGuiTestEngine_UnregisterTest, too #46

Closed mgerhardy closed 2 months ago

mgerhardy commented 2 months ago

The use-case I have is that my UI creates or removes widgets when I switch behaviour (I have a simple and a more complex mode). The widgets register their ui unittests on spawning, but I can't unregister them on removing the widget and that leads to a crash in the test engine.

ocornut commented 2 months ago

Added with d65bc69, let me know if you have issues with it!