I have a game written in C, and I would like to write UI tests for it. Are there any suitable frameworks for testing UI's written in C? Both the game logic and the UI are written in C.

  • What is written on C? Game logic or UI?
    – Alexey R.
    Commented Apr 12, 2018 at 12:08
  • Game logic and UI :/ Commented Apr 12, 2018 at 12:09

1 Answer 1


For Windows UI automation testing, you can use pywinauto: https://github.com/pywinauto/pywinauto

It has a strong community, and it's developer Vasily Ryabov is active on StackOverflow

  • 2
    Great find! Using a highly productive (for a programmer) language like Python to write parts of the app which are not performance-critical (like UI tests) is great design decision, and good news that devs are working on a version automating Linux desktop. I do not need it currently, but will remember it in case I might need it in the future. Commented Apr 12, 2018 at 12:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.