The controller should be searching for the rostest dependency correctly (see here). Could it be that you have an older version of rostest installed?. The add_rostest_gtest
function is relatively new. Could you check if your rostest installation contains this CMake function?.