-
Notifications
You must be signed in to change notification settings - Fork 5
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
Using this package for action tests. #25
Comments
Yes, this sounds useful! We don't use actions right now over at my group, so I haven't yet bothered implementing it. But sure, contributions are welcome. 😃 As a side note: This should already be possible, by simply following this tutorial and using the fact that the We should think about this. Would it be a convenience function for calling the action "synchronously", i.e., in a way that only returns if the action is completed fully? I think that sounds reasonable. Additionally, we might consider adding an example of how to create a service and an action and call it normally by using the |
Done in #37. |
Hi,
I am trying to use the ROS2TestEnvironment to help write unit tests for an action server. I think I have a basic test working. I believe this can be easily generalized and added to the ROS2TestEnvironment class. The code looks like:
I imagine as part of ros2-test-easy this could be simplified to a single call like:
response, feedback, done_result = env.call_action("fibonacci", action_goal)
WDYT
The text was updated successfully, but these errors were encountered: