<div dir="ltr">I was definitely just thinking about writing something like this. Thanks for putting it together! Can you post it on the ROS wiki under development / contributing (<a href="http://wiki.ros.org/Get%20Involved">http://wiki.ros.org/Get%20Involved</a>)?<div>

<br></div><div>It's pretty reasonable for ROS package maintainers to not want to merge a contribution until it's paired with a unit test, so it's really important that anyone who wants to give back to the community is aware of these sort of tools and design patterns.</div>

<div><br></div><div>As another (very recent) real-world example, see here for a feature contribution to roslaunch which required adding a unit test before getting merged into ros_comm: <a href="https://github.com/ros/ros_comm/pull/379">https://github.com/ros/ros_comm/pull/379</a></div>

<div><br></div><div>-j</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Mar 14, 2014 at 3:23 PM, Víctor González <span dir="ltr"><<a href="mailto:victor.gonzalez@uc3m.es" target="_blank">victor.gonzalez@uc3m.es</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>I'm glad you liked it! </div><div>I pretend to add some info regarding Google Mock in the next iteration of it, but please, feel free to add the improvements you consider. </div>

<div>

<br></div><div>Cheers,</div><div>Victor</div><div><br></div><div><br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Mar 14, 2014 at 12:41 PM, Marti Morta <span dir="ltr"><<a href="mailto:mmorta@iri.upc.edu" target="_blank">mmorta@iri.upc.edu</a>></span> wrote:<br>



<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    Gracias Victor,<br>
    <br>
    we are going to deliver a seminar soon about TDD, this is going to
    be very helpful!<br>
    <br>
    Cheers<br>
    <br>
    Martí<div><div><br>
    <br>
    <div>On 14/03/14 12:17, Víctor González
      wrote:<br>
    </div>
    </div></div><blockquote type="cite"><div><div>
      <div dir="ltr">Hello,
        <div><br>
        </div>
        <div>I have written a tutorial on Test Driven Development (TDD)
          in ROS that I would like to share with you. The tutorial was
          addressed to the needs of my lab colleagues, so some parts are
          in rosbuild (we are still migrating to catkin). However, there
          are other parts that can be helpful to anyone who is starting
          to write their own tests. </div>
        <div><br>
        </div>
        <div>Slides:</div>
        <div><a href="https://docs.google.com/presentation/d/1eraurS9rlMXyN0kbQMJdCyWOxRC5JTBV7FskyMaYNpM/present" target="_blank">https://docs.google.com/presentation/d/1eraurS9rlMXyN0kbQMJdCyWOxRC5JTBV7FskyMaYNpM/present</a></div>




        <div><br>
        </div>
        <div>Code examples: </div>
        <div><a href="https://github.com/VGonPa/ros-testing-seminar" target="_blank">https://github.com/VGonPa/ros-testing-seminar</a></div>
        <div><br>
        </div>
        <div>I hope you find it useful!</div>
        <div><br>
        </div>
        <div>Best regards,</div>
        <div><br>
        </div>
        <div>Victor Gonzalez-Pacheco</div>
        <div>PhD Student.</div>
        <div>RoboticsLab</div>
        <div>Universidad Carlos III de Madrid</div>
        <div>Leganés, Madrid</div>
        <div>Spain</div>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      </div></div><pre>_______________________________________________
ros-users mailing list
<a href="mailto:ros-users@lists.ros.org" target="_blank">ros-users@lists.ros.org</a>
<a href="http://lists.ros.org/mailman/listinfo/ros-users" target="_blank">http://lists.ros.org/mailman/listinfo/ros-users</a><span><font color="#888888">
</font></span></pre><span><font color="#888888">
    </font></span></blockquote><span><font color="#888888">
    <br>
    <pre cols="72">-- 
Martí Morta Garriga
Robotics Engineer
Institut de Robòtica i Informàtica Industrial, CSIC/UPC</pre>
  </font></span></div>

<br>_______________________________________________<br>
ros-users mailing list<br>
<a href="mailto:ros-users@lists.ros.org" target="_blank">ros-users@lists.ros.org</a><br>
<a href="http://lists.ros.org/mailman/listinfo/ros-users" target="_blank">http://lists.ros.org/mailman/listinfo/ros-users</a><br>
<br></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
ros-users mailing list<br>
<a href="mailto:ros-users@lists.ros.org">ros-users@lists.ros.org</a><br>
<a href="http://lists.ros.org/mailman/listinfo/ros-users" target="_blank">http://lists.ros.org/mailman/listinfo/ros-users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Jonathan Bohren<br>Laboratory for Computational Sensing and Robotics<br><a href="http://dscl.lcsr.jhu.edu/People/JonathanBohren">http://dscl.lcsr.jhu.edu/People/JonathanBohren</a><br>

<br>
</div>