[ros-users] [Discourse.ros.org] [ROS Projects] Feedback Want…

Forside
Vedhæftede filer:
Indlæg som e-mail
+ (text/plain)
Slet denne besked
Besvar denne besked
Skribent: Lucas Watson via ros-users
Dato:  
Til: ros-users
CC: Lucas Watson
Emne: [ros-users] [Discourse.ros.org] [ROS Projects] Feedback Wanted: Test framework for verifying topic output (both unit and integration testing)




[quote="Martin_Guenther, post:3, topic:5336"]

I like your ideas and think this could be very useful. However, one should keep in mind that writing a complete specification of the expected behavior of a node is as complex as writing the node itself; if you had a complete mapping from input to output, you could just execute it instead of running the node. So writing a full functional mapping of input to output is probably infeasible. In your example, youre doing something else: You specify invariants that should hold (velocity magnitude is clamped, and dv/dt corresponds with accel_max), while leaving open some degrees of freedom in the behavior of the node. I think this is the way to do it.

[/quote]



This is a great way to put it. My concern is precisely how to express invariants generally enough such that development of the node (or nodes) isn't hindered by the tests. Cumbersome tests are likely to be ignored if they break and are hard to fix.



[quote="Martin_Guenther, post:3, topic:5336"]

By the way, are you familiar with [rostest ](http://wiki.ros.org/rostest)?

[/quote]



Yes, should have mentioned that this will ideally become a `rostest` node where pubs/subs/invariants are supplied via yaml.











---

[Visit Topic](https://discourse.ros.org/t/feedback-wanted-test-framework-for-verifying-topic-output-both-unit-and-integration-testing/5336/5) 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>