Hi!

I'm quite new with Qt and trying to unit test my project for the first time. I read the QTestLib tutorials but there's still a problem I can't figure out.

How can I use QTestLib to test my own classes? For example in my project I have class named statesrv which is in files statesrv.h and statesrv.cpp. How can I test that class using QTestLib? Should I make another unit testing project or can I do it within the main project?

Thanks for any answers!!