You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To run a single test, you can execute the compiled file, e.g. from your catkin workspace::
36
+
37
+
./devel/lib/moveit_core/test_planning_scene
38
+
19
39
Test Robots
20
40
-----------
21
41
@@ -31,13 +51,11 @@ From the package `moveit_resources <https://github.com/ros-planning/moveit_resou
31
51
32
52
roslaunch moveit_resources demo.launch
33
53
34
-
Unit Tests
35
-
----------
36
54
37
55
Writing Unit Tests
38
-
~~~~~~~~~~~~~~~~~~
56
+
------------------
39
57
40
-
The entire test file, with includes, can be seen :codedir:`here <tests>` in the moveit_tutorials GitHub project.
58
+
The file below explains how a test is structured, so you can write your own. The entire test file, with includes, can be seen :codedir:`here <tests>` in the moveit_tutorials GitHub project.
41
59
42
60
MoveIt uses Google Test as a testing framework.
43
61
@@ -48,22 +66,6 @@ MoveIt uses Google Test as a testing framework.
48
66
.. tutorial-formatter:: ./test/tests.cpp
49
67
50
68
51
-
Running Unit Tests
52
-
~~~~~~~~~~~~~~~~~~
53
-
54
-
To run unit tests locally on the entire MoveIt catkin workspace using catkin-tools: ::
55
-
56
-
catkin run_tests -iv
57
-
58
-
To run a test for just 1 package::
59
-
60
-
catkin run_tests --no-deps --this -iv
61
-
62
-
To ignore most of the log/print output of the tests::
0 commit comments