I know there are specific test commands
`catkin_make run_tests` to run all tests
and
`catkin_make run_tests_<projectname>_gtest_<testname>` to run specific test declared by catkin_add_gtest(..)
One test file can have multiple tests though.
Example:
TEST(testsuit1, test1) {
..
}
TEST(testsuit1, test2) {
..
}
TEST(testsuit2, test3) {
..
}
int main(int argc, char **argv) {
testing::InitGoogleTest(&argc, argv);
return RUN_ALL_TESTS();
}
Is that possible to run only testsuit1 or only test3 from my example?
---
[Visit Topic](
https://discourse.ros.org/t/catkin-run-specific-unit-test/2679/1) or reply to this email to respond.
If you do not want to receive messages from ros-users please use the unsubscribe link below. If you use the one above, you will stop all of ros-users from receiving updates.
______________________________________________________________________________
ros-users mailing list
ros-users@lists.ros.org
http://lists.ros.org/mailman/listinfo/ros-users
Unsubscribe: <
http://lists.ros.org/mailman//options/ros-users>