Hi Eli,

2011/2/11 Eli Stevens (Gmail) <[email protected]>:
> Is there some documentation out there that I'm missing?  How does everyone
> else unittest the UI of their projects?  Subcomponents of that UI?

For Qt, there's an UI testing framework called "TDriver":

http://wiki.meego.com/Quality/QA-tools/TDriver

You have to script it using Ruby or a domain-specific language, but it
allows you to define it in terms of actions and expectations. I should
theoretically work with PySide as well, because the support for it is
built into Qt (might need to be enabled at compile-time, or patched
in, but it basically works). You can even test QML-based applications
with it.

For "pure" Python code, or code that can be tested without UI
interaction, you can write normal Python unittests (unittest module)
or doctests. There's also python-nose, which can be used to make
executing and managing many tests easier.

HTH.
Thomas
_______________________________________________
PySide mailing list
[email protected]
http://lists.openbossa.org/listinfo/pyside

Reply via email to