Hello

I have custom Application class (QApplication descendant) which is the core of my app (it handle application states and create windows when needed). And I want to write automated tests for my app (to ensure quality). I found that page:
http://qt.nokia.com/learning/online/...-applications/
And I recognize that in order to test my app I should make it as shared library (or maybe few shared libraries).
But mentioned page apparently assume that default QApplication is used. So I have question:
How I should manage my own custom QApplication descendant in the test suit?
Maybe I should create my QApplication object but not call exec() function?
Will that work?

thanx
Szyk