I'm following this tutorial on how to write a functional test for GUI built from GTK+2 in C. From the tutorial, it seems that the test cases are actually running as a part of the main GUI program. Is there anyway that we could run the test cases as a separate program using just the provided testing module provided by GTK?
EDIT: What I am trying to achieve here is to be able to test the functionality of the GUI program without modifying the original program as I am not allowed to. Is this goal really feasible with the testing module provided by GTK? I figured something like dogtail would have been better suited for the job but the system that I am working on is so old that getting dogtail up and running for it would be a difficult tasks.
question from:
https://stackoverflow.com/questions/65924231/automated-functional-ui-testing-with-gtk2 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…