I am studying about Qt Test and got to know there are four special slots which are executed before and after test cases.
- initTestCase() will be called before the first testfunction is executed.
- cleanupTestCase() will be called after the last testfunction was executed.
- init() will be called before each testfunction is executed.
- cleanup() will be called after every testfunction.
I know how to use them as a clear example is there in Qt Documentation.
But my problem here is I want to see real world usage, not printing an example qDebug, of those slots. What can be changed within those slots?
I found an answer for my own question here.
circle.h