Someone can correct me if I am wrong, but from my understanding of `colcon test`, there isn't a built-in way of selecting to only run tests from a given sub-folder of a package.
A workaround that comes to mind would be to create sub-packages (e.g. `my_pkg_integrationtest`, `my_pkg_unittest`) and to list them in `my_pkg`'s `package.xml` as test_dependencies.
But I'd be surprised if there wasn't someone more knowledgeable out there with a better solution than that
↧