Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
213 views
in Technique[技术] by (71.8m points)

c - Automated functional UI testing with GTK+2

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

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...