Open mikepurvis opened 11 years ago
I love it Mike! I've been thinking that we need exactly that - an automated test suite so we can accept contributions and have confidence that they don't break stuff. Contributions welcome.
Paul
On Fri, Sep 13, 2013 at 5:06 PM, mikepurvis notifications@github.comwrote:
Suggestion:
New rosserial_tests package, which contains a gtest executable and handful of rostest files. The gtest executable would be both a roscpp node and rosserial client in various configurations (pty, socket, etc).
The idea would be a baseline exercise of functionality, as well as potentially flood tests (for buffer overruns), correct handling of messages mangled in various ways, etc.
I'm happy to work on this.
— Reply to this email directly or view it on GitHubhttps://github.com/ros-drivers/rosserial/issues/65 .
Yes, will be important to know about regressions, especially if there's serious effort put into tickets like #66 (just filed by me).
Here are some thoughts I've had on the topic:
Please check out my beginnings of some work on this:
https://github.com/clearpathrobotics/rosserial/tree/hydro-devel/rosserial_test
@mikeferguson, you may be interested in this too. There's some magic which happens in the client library generator script, and in the test fixture, but the meat of it is understandable from the simple check of publish functionality:
Suggestion:
New rosserial_tests package, which contains a gtest executable and handful of rostest files. The gtest executable would be both a roscpp node and rosserial client in various configurations (pty, socket, etc).
The idea would be a baseline exercise of functionality, as well as potentially flood tests (for buffer overruns), correct handling of messages mangled in various ways, etc.
I'm happy to work on this.