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

Naive ros2 pub/sub should have test #7

Open
2 tasks
griswaldbrooks opened this issue Jul 12, 2022 · 0 comments
Open
2 tasks

Naive ros2 pub/sub should have test #7

griswaldbrooks opened this issue Jul 12, 2022 · 0 comments
Assignees

Comments

@griswaldbrooks
Copy link
Collaborator

Need

In order to contrast writing a DI/naive ros2 test for pub/sub
As a developer
I want to see an naive test example that will correspond to a later DI version.

Acceptance Criteria

Scenario: ros2 naive pub/sub should have test
GIVEN we want to write a ros2 pub/sub test
WHEN looking for example
THEN one will exist in the naive/test directory

Tasks

  • Port ros1/naive/test/incrementer_test.cpp to ros2
  • Update readme to show cli commands for testing and expected result

Notes

Not sure if the canonical way currently has some form of launch file, or requires a Spinner object.
I get the impression they don't but I can't confirm that.
The ros2 action test doesn't seem to need it.

References:
https://github.com/PickNikRobotics/ros_testing_templates/blob/main/ros1/naive/test/incrementer_test.cpp

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

No branches or pull requests

2 participants