Skip to content
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

Launch testing examples : ROS focused #263

Merged
merged 13 commits into from
Sep 16, 2021
Merged

Conversation

adityapande-1995
Copy link
Contributor

@adityapande-1995 adityapande-1995 commented Aug 31, 2021

Launch testing improvement : More examples

This PR aims to add simpler, easier to follow examples to demonstrate the usage of launch_testing. The code here is intended to be boilerplate code for beginners, and must showcase the power and scope of launch_testing. These should cover a wide range of common use cases of testing and launch.

The README.rst should explain the examples in sufficient detail.

Suggestions are welcome for new test cases, problem statements, and the example code.

Added test cases :

✅ Hello world (Moved to ros2/launch#532)
✅ Set a parameter on a node , check if successful.
✅ Check if a topic is publishing messages.
✅ Check if a node is running

Status : In progress

Main issue tracking related PRs : ros2/launch#531

Signed-off-by: Aditya Pande [email protected]

Signed-off-by: Aditya Pande <[email protected]>
Signed-off-by: Aditya Pande <[email protected]>
Copy link
Member

@ivanpauno ivanpauno left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the examples look reasonable

launch_testing_ros/examples/README.rst Outdated Show resolved Hide resolved
launch_testing_ros/examples/README.rst Outdated Show resolved Hide resolved
launch_testing_ros/examples/check_msgs_launch_test.py Outdated Show resolved Hide resolved
launch_testing_ros/examples/check_node_launch_test.py Outdated Show resolved Hide resolved
launch_testing_ros/examples/hello_world_launch_test.py Outdated Show resolved Hide resolved
Signed-off-by: Aditya Pande <[email protected]>
Signed-off-by: Aditya Pande <[email protected]>
Signed-off-by: Aditya Pande <[email protected]>
Copy link
Member

@wjwwood wjwwood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Spoke with @adityapande-1995 offline and we're just gonna make follow up issues for all the remaining comments I had.

@adityapande-1995
Copy link
Contributor Author

CI :

  • Linux Build Status
  • Linux-aarch64 Build Status
  • macOS Build Status
  • Windows Build Status

@adityapande-1995
Copy link
Contributor Author

CI round 2 :

  • Linux Build Status
  • Linux-aarch64 Build Status
  • macOS Build Status
  • Windows Build Status

launch_testing_ros/test/examples/README.rst Outdated Show resolved Hide resolved
Signed-off-by: Aditya Pande <[email protected]>
Copy link
Member

@ivanpauno ivanpauno left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Signed-off-by: Aditya Pande <[email protected]>
@adityapande-1995 adityapande-1995 merged commit 798995e into master Sep 16, 2021
@delete-merged-branch delete-merged-branch bot deleted the aditya/add_examples branch September 16, 2021 17:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants