ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
6

catkin run_tests with stdout output of rostest

asked 2015-10-12 09:49:32 -0500

wkentaro gravatar image

I'm using rostest by adding add_rostest in CMakelists.txt, and catkin_tools to build it. I know how to test specific package with catkin run_tests pkg --no-deps, but no idea to write the test's stdout to the screen like rostest --text hoge.test.

Anyone who know about this?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2017-03-18 09:16:00 -0500

130s gravatar image

updated 2018-05-29 12:16:16 -0500

Though you've probably figured this out already, you can catkin_test_results for that these days. http://docs.ros.org/jade/api/catkin/h...

UPDATE 20180529 For catkin_tools, passing workspace folder path to catkin_test_results works. Some examples:

cd ~/catkin_ws
catkin_test_results

Or

catkin_test_results --verbose ~/catkin_ws
edit flag offensive delete link more

Comments

The question was about catkin tools, the link you provided is about catkin_make. I tired but there is no test_results folder after running catkin run_tests or catkin test

Mehdi. gravatar image Mehdi.  ( 2018-05-29 06:59:13 -0500 )edit

@Mehdi. Thanks for pointing that out. I've updated my post.

130s gravatar image 130s  ( 2018-05-29 12:16:42 -0500 )edit

Question Tools

5 followers

Stats

Asked: 2015-10-12 09:49:32 -0500

Seen: 2,915 times

Last updated: May 29 '18