Skip to content

Commit a5e09f1

Browse files
author
Aaron Roller
committed
test: demonstrating single test suite AM-415/rostests
1 parent b9d74f1 commit a5e09f1

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
<testsuite errors="0" failures="1" name="unittest.suite.TestSuite" tests="1" time="0.114"><testcase classname="rostest.runner.RosTest" name="testsuper_status" time="0.1142"><failure type="AssertionError">Test Fixture Nodes ['am_super'] failed to launch
2+
File "/usr/lib/python2.7/unittest/case.py", line 329, in run
3+
testMethod()
4+
File "/opt/ros/melodic/lib/python2.7/dist-packages/rostest/runner.py", line 121, in fn
5+
self.assert_(not failed, "Test Fixture Nodes %s failed to launch"%failed)
6+
File "/usr/lib/python2.7/unittest/case.py", line 422, in assertTrue
7+
raise self.failureException(msg)
8+
</failure></testcase><system-out>&lt;![CDATA[
9+
[ROSTEST]setup[/home/developer/catkin_ws/src/rostest/am_super_status.test] run_id[13387f10-ca87-11ea-ae12-0242ac110002] starting
10+
&amp;#x001B;[1mstarted roslaunch server http://94f83af5cd1d:36301/&amp;#x001B;[0m
11+
12+
SUMMARY
13+
========
14+
15+
PARAMETERS
16+
* /rosdistro: melodic
17+
* /rosversion: 1.14.5
18+
19+
NODES
20+
/
21+
am_super (am_super/am_super)
22+
23+
[ROSTEST]setup[/home/developer/catkin_ws/src/rostest/am_super_status.test] run_id[13387f10-ca87-11ea-ae12-0242ac110002] done
24+
[ROSTEST]Running test [super_status]
25+
&amp;#x001B;[1mROS_MASTER_URI=http://94f83af5cd1d:46481/&amp;#x001B;[0m
26+
&amp;#x001B;[1msetting /run_id to 13387f10-ca87-11ea-ae12-0242ac110002&amp;#x001B;[0m
27+
[ROSTEST]tearDown[/home/developer/catkin_ws/src/rostest/am_super_status.test]
28+
shutting down processing monitor...
29+
... shutting down processing monitor complete
30+
[ROSTEST]rostest teardown /home/developer/catkin_ws/src/rostest/am_super_status.test complete
31+
32+
]]&gt;</system-out><system-err>&lt;![CDATA[
33+
&amp;#x001B;[31mERROR: cannot launch node of type [am_super/am_super]: Cannot locate node of type [am_super] in package [am_super]. Make sure file exists in package path and permission is set to executable (chmod +x)&amp;#x001B;[0m
34+
35+
]]&gt;</system-err></testsuite>

0 commit comments

Comments
 (0)