-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Proposal to add intermediate tutorial on integration testing #4827
Comments
IMO proposal sounds reasonable and helpful for user documentation. we can have a general integration test tutorial with introducing some of the contents from https://github.com/ros2/launch/tree/rolling/launch_testing, but not much details. so that we can guide the user to https://github.com/ros2/launch/tree/rolling/launch_testing for more information. thank you very much for considering the 1st contribution for ROS community. let's keep this open for a while to get more feedback from other developers. |
Good idea to put more light on and guiding to that package, thanks! If anyone else has suggestions, please share. |
@abaeyens this sounds wonderful and we would greatly appreciate it! Your blog post is wonderfully helpful! I was going to share it with the wider community tomorrow. You might want to consider making a post on ROS Discourse about your recent work and asking for some community feedback. Integration testing is still a bit of a black art in ROS and I would be interested in hearing how some of the larger companies in the ROS ecosystem are approaching it. |
@kscottz your post was a really nice surprise, thanks, greatly appreciated!
Excellent idea, I'll do so later this week. |
Hi @abaeyens , great blog post! I was down the same rabbit hole six months ago, my (somewhat abandoned since then) notes are here. I think the one part i have to add is the I will have to look at |
This issue has been mentioned on ROS Discourse. There might be relevant details there: https://discourse.ros.org/t/towards-a-rosdoc-integation-testing-tutorial/40701/1 |
Current situation
The ROS 2 doc introduction to testing page makes clear that automated testing constitutes part of effective development. The subsequent two pages discuss unit testing for C++ and Python. Next to unit testing, it is also common to do integration testing, where several nodes are run simultaneously. ROS 2 provides several packages well-suited for this such as
launch_testing_ament_cmake
andament_cmake_ros
. Unfortunately, a quick search on these two package names doesn't turn up any hits in the ROS 2 doc except for changelogs, and the important topic of integration testing currently isn't discussed in the ROS 2 doc.Related issues
ROS 2 Testing documentation #1441 from three years back.
Proposed changes
ROS_DOMAIN_ID
s for each launch (to avoid crosstalk between parallel-running tests)Questions
Before I start writing and create a PR, I'd appreciate your feedback on this proposal. Is a tutorial about integration testing indeed desired? And is the linked blog article above suitable as a base for the ROS 2 doc tutorial, or would major content changes be necessary?
This is my first contribution to the ROS project, please let know in case I missed anything related to the contribution guidelines.
The text was updated successfully, but these errors were encountered: