Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Passing input arguments to GoogleTests with AutoTest plugin
daviddoria last edited by
I am using the AutoTest plugin to run my Google Tests from QtCreator. The tests that do not require any input work fine. However, the tests that require input (e.g. I pass them a filename) never receive that input, so they all fail. The way I had been running them before experimenting with AutoTest was to pass their arguments in my CMakeLists.txt in the GTEST_ADD_TESTS call, then they work fine when run with 'ctest' from a terminal.