Use build-time define to set the path to the source files directory. Which then can be used to format path to the test data. This allows running tests from out-of-source-tree -builds that e.g. QtCreator does. |
||
---|---|---|
.. | ||
testxmlreportv1.cpp | ||
testxmlreportv1.h | ||
xmlreportv1.pro |