Passing input arguments to GoogleTests with AutoTest plugin



  • 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.

    Any thoughts?

    Thanks,

    David


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.