https://wiki.jenkins-ci.org/display/JENKINS/Robot+Framework+Plugin
I don't think that the xUnit plugin supports robotframework reports. At
least it's not on the list of supported frameworks:
https://wiki.jenkins-ci.org/display/JENKINS/xUnit+Plugin
Heiko
Ugh
--
You received this message because you are subscribed to the Google
Groups "robotframework-users" group.
To post to this group, send email to
robotframe...@googlegroups.com.
To unsubscribe from this group, send email to
robotframework-u...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/robotframework-users?hl=en.
Ugh
Well, actually I am using Robot plunging. Perhaps I did ask a wrong question. My jobs in Jennings are small modules of the product that I am testing (SUT). And in the end I have lot of jobs in the Jenkins.
How could I make an report, to visualize the testing status of the product. I did hope that xUnit would resolve my problem to combine the Robot output to a single report. I did try Robot historical reporting tool (2) but it did not resolve my problem.
In the Robot user guide (1), it says that xUnit is kind a supported. But does not say how it is done.
(1) http://robotframework.googlecode.com/hg/doc/userguide/RobotFrameworkUserGuide.html?r=2.5.7#xunit-compatible-result-file
(2) http://robotframework.googlecode.com/hg/doc/userguide/RobotFrameworkUserGuide.html?r=2.5.7#historical-reporting-tool
-Tatu
If you want a single report, you can use `rebot` tool that is
installed with Robot automatically:
http://robotframework.googlecode.com/hg/doc/userguide/RobotFrameworkUserGuide.html?r=2.5.7#post-processing-outputs
> In the Robot user guide (1), it says that xUnit is kind a supported. But
> does not say how it is done.
>
> (1)
> http://robotframework.googlecode.com/hg/doc/userguide/RobotFrameworkUserGuide.html?r=2.5.7#xunit-compatible-result-file
> (2)
> http://robotframework.googlecode.com/hg/doc/userguide/RobotFrameworkUserGuide.html?r=2.5.7#historical-reporting-tool
You get the xunit output with --xunitfile option e.g. like `pybot
--xunitfile xunit.xml my_tests.txt`.
Cheers,
.peke
--
Agile Tester/Developer/Consultant :: http://eliga.fi
Lead Developer of Robot Framework :: http://robotframework.org
If I select the test tags correctly, the rebot will solve my problem. I
did not see the rebot tool, thx for help.
I have the report.xml output file in the folder and based on the Jenkins
console output is seems to find the report.xml file:
1 test report file(s) were found
But based on the console output some sort of error seems to happen:
[xUnit] [ERROR] - The plugin hasn't been performed correctly: None of
the test reports contained any result
I was just wondering, have any of you used this pluging to report the
combined test results. If you did what configuration options did use...
Or is this a question to the XUnit plugin developer?
-Tatu
I have tested that Hudson's XUnit plugin works with outputs you get
from Robot with --xunitfile option. Are you sure you do use this
option? XUnit plugin doesn't understand Robot's normal output file.
<testcase classname="Tests.Valid displacement callculation
when empty mass is used" time="2" name="When mass.empty and
mass@tank are send then valid displacement is received">
</testcase>