How to unit test a Qt Gui
Hi all, I have two general questions on unit testing of Qt Guis:
a) The tutorial on the web shows how to create a stand-alone executable test. If I want to run a Gui test inside another function what is the best way to do it? Just declare an instance of the test class and call the relevant methods?
b) Can I use Qt's GUI testing inside a CppUnit test?
thanks,
Dimitri
Re: How to unit test a Qt Gui
Froglogic has a product called Squish that does this: http://froglogic.com/pg?id=Products&category=squish , but of course you can just simulate user action through a standard unit testing procedure (calling functions as you suggest).