[ros-users] [Discourse.ros.org] [Quality Assurance] Revised …

Forside
Vedhæftede filer:
Indlæg som e-mail
+ (text/plain)
Slet denne besked
Besvar denne besked
Skribent: Paul Bouchier via ros-users
Dato:  
Til: ros-users
CC: Paul Bouchier
Emne: [ros-users] [Discourse.ros.org] [Quality Assurance] Revised tutorial on automatic testing of ROS code, packages and applications


+1 for improving testing documentation. I like your rewrite of UnitTesting. I think it correctly identifies that both gtest and rostest are needed for UnitTesting, whereas the original pages on gtest and rostest implied that gtest was for unit testing and rostest for subsystem testing. In practice, even if you're unit testing a single module, you're likely to need e.g. rosparams at a minimum, and maybe ros messages from a test harness, and you don't get any of that with gtest because it doesn't start roscore. Yet rostest has difficulties that I haven't (yet) found a solution to: how to run individual unit tests, how to look at ROS_INFO etc prints while subtests run. I look forward to improvements to rostest, and will contribute as I'm able.

Paul





---
[Visit Topic](https://discourse.ros.org/t/revised-tutorial-on-automatic-testing-of-ros-code-packages-and-applications/4292/3) 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

http://lists.ros.org/mailman/listinfo/ros-users
Unsubscribe: <http://lists.ros.org/mailman//options/ros-users>