comparison env/lib/python3.9/site-packages/planemo/reports/report_junit.tpl @ 0:4f3585e2f14b draft default tip

"planemo upload commit 60cee0fc7c0cda8592644e1aad72851dec82c959"
author shellac
date Mon, 22 Mar 2021 18:12:50 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:4f3585e2f14b
1 <?xml version="1.0" encoding="UTF-8"?>
2 <testsuites>
3 <testsuite name="{{ raw_data.suitename }}"
4 tests="{{ raw_data.results.total }}"
5 errors="{{ raw_data.results.errors }}"
6 failures="{{ raw_data.results.failures }}"
7 skipped="{{ raw_data.results.skips }}">
8 {% for testcase in raw_data.tests %}
9 <testcase classname="{{ testcase.id }}" name="{{ testcase.data.test_index }}" time="{{ testcase.data.time_seconds }}">
10 {% if 'job' in testcase.data %}
11 {% if testcase.data.status != 'success' %}
12 <failure message="Tool exit code: {{ testcase.data.job.exit_code }}"><![CDATA[
13 {{ testcase.data | tojson(indent=True)| strip_control_characters }}
14 ]]></failure>
15 {% endif %}
16 {% else %}
17 <failure message="{{ testcase.data.execution_problem }}"><![CDATA[
18 {{ testcase.data | tojson(indent=True)| strip_control_characters }}
19 ]]></failure>
20 {% endif %}
21 </testcase>
22 {% endfor %}
23 </testsuite>
24 </testsuites>