Ask Your Question
0

Running rostests with bag data

asked 2014-09-18 13:41:52 -0500

Tom Moore gravatar image

I'm in the processing of standing up some regression tests, and my tests require that I can play back bag data against my node, and then monitor the output. rostest conveniently provides all the tools I need to complete this, but what's considered best practice for where the bag data should be stored? I can't have my tests failing on Jenkins because the bags are missing, but then I also don't want my repo to get unreasonably large, and I will have quite a few of these regression tests to run. Should I just run them offline?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2014-09-18 15:25:24 -0500

Dirk Thomas gravatar image

If the test data is small it is usually ok to put them into the repo beside the tests. In cases where the test data is bigger I would recommend to place them in a publically fetchable location.

E.g. the tests for rosbag itself are fetching several bag files for verifying that the behavior has no regressions. See https://github.com/ros/ros_comm/blob/...

edit flag offensive delete link more

Comments

Great, thank you!

Tom Moore gravatar imageTom Moore ( 2014-09-18 15:39:14 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2014-09-18 13:41:52 -0500

Seen: 557 times

Last updated: Sep 18 '14