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