-
Notifications
You must be signed in to change notification settings - Fork 23
Unit Testing
basheersubei edited this page Nov 9, 2014
·
3 revisions
Here will be shown how to create simple unit test using the gTest framework and ROS.
To start off, read this post to get an idea of what testing is and why you need tests. Pretend it's C++, not Python... :)
Then, look at how ROS does testing.
ROS + Python use the module called unittest for testing.
ROS + C++ use the module called gtest for testing.
We will need to set up some sort of server that continuously tests each piece of code that is added. We will most likely use Jenkins. We're currently setting one up for EDT. Stay tuned...