What's the recommended way to unittest Python GUI applications?

前端 未结 4 523
情歌与酒
情歌与酒 2021-02-02 07:01

I\'m currently foolish enough to try to maintaintain two parallel code bases for a Python desktop application, one using PyGObject introspection for GTK 3 and one using PyGTK fo

4条回答
  •  灰色年华
    2021-02-02 07:20

    In sticking with the theme that Jürgen was correct in that I'm not interested in unit testing, but actually interested in integration testing, I also found this framework from freedesktop.org: http://ldtp.freedesktop.org/wiki/

    It allows automating a variety of tests for Accessibility-enabled GUI applications (including GTK, Qt, Swing, etc).

提交回复
热议问题