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.Apr 12, 2018 at 12:08
-
Game logic and UI :/– Krzysztof KwokaApr 12, 2018 at 12:09
1 Answer
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
-
2Great 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. Apr 12, 2018 at 12:34