[Python] Using Python imgui_bundle test engine to test my app

Discussão em 'Python' iniciado por Stack, Junho 25, 2025.

  1. Stack

    Stack Membro Participativo

    Python 3.12
    imgui_bundle 1.91.7 WIP
    I have a python app (call it app.py, which has multiple supporting .py files) and trying to use the imgui_bundle testing engine to write unit tests for the GUI testing. While the examples they have test their (imgui's) internal Demo app, that is called through an internal imgui function. The documentation doesn't state how to use the testing scripts on a app.py script.
    Has Anyone use the imgui test engine to test their imgui app?

    ##- their code that has their imgui.test_engine.Test
    dear_imgui_demo_window: imgui.test_engine.Test
    [...]
    ##- This is the imgui internal function that runs their internal demo
    dear_imgui_demo_window.gui_function = imgui.show_demo_window


    I've searched google (all point to their example) Stackflow has no results when doing a simple search for "python imgui test engine", even reddit and youtube produce no results

    Continue reading...

Compartilhe esta Página