-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathtestcase-output.xml
59 lines (53 loc) · 2.24 KB
/
testcase-output.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<?xml version="1.0" encoding="UTF-8"?>
<!--
This example shows different ways to include properties in the XML file.
Example by Testmo. Copyright 2023 Testmo GmbH. All rights reserved.
Testmo test management software - https://www.testmo.com/
-->
<testsuites>
<testsuite name="Tests">
<!-- Most tools already support properties for test suites -->
<properties>
<property name="version" value="1.774" />
<property name="commit" value="ef7bebf" />
<property name="browser" value="Google Chrome" />
<property name="ci" value="https://github.com/actions/runs/1234" />
<property name="config"> <!-- Some tools support properties with text content -->
Config line #1
Config line #2
Config line #3
</property>
</properties>
<testcase name="testExample" classname="Tests">
<!-- More and more tools also support properties for test cases now -->
<properties>
<property name="priority" value="high" />
<property name="language" value="english" />
<property name="author" value="Adrian" />
<property name="attachment" value="screenshots/dashboard.png" />
<property name="attachment" value="screenshots/users.png" />
<!-- Optional support for properties with text values -->
<property name="description">
This text describes the purpose of this test case and provides
an overview of what the test does and how it works.
</property>
</properties>
<!-- For testing tools that don't support test case properties yet,
developers can alternatively output properties as part of the system out,
similar to how many tools already support attachments in system out. -->
<system-out>
Output line #1
Output line #2
[[PROPERTY|author=Adrian]]
[[PROPERTY|language=english]]
[[PROPERTY|browser-log]]
Log line #1
Log line #2
Log line #3
[[/PROPERTY]]
[[ATTACHMENT|screenshots/dashboard.png]]
[[ATTACHMENT|screenshots/users.png]]
</system-out>
</testcase>
</testsuite>
</testsuites>