No need to be sorry, I just didn't understand, now I think I do undertsnad what you mean, not sure I do understand "why" :-)Sorry for the misunderstanding regarding the line "run unit test within the code", what I meant is that test code be present in the same project and I could change the config accordingly and run test / run the app.
So I'll ask it differently:
If you have your tests in a separate project/subproject - what WONT you be able to do in contrast to when they are part of your project?
There are various advantages of having the production code and test code separated, for example build time, better decoupling etc.
Just as you do it in the application using these plugins.As the application uses plugins which are loaded dynamically. How can I write test code which could load the plugins and run test on them?
Only this application is the test application not the real one.
QtTest application is a regular application, you only link QtTest which adds some test specific functionality that is all.
Bookmarks