Initial commit.
[qa-tools:testrunner-lite.git] / testdata / filter_tests.xml
1 <?xml version="1.0" encoding="ISO-8859-1"?>
2 <testdefinition version="0.1">
3   <suite name="examplebinary-tests1" domain="sample_suite_domain" timeout="10" type="unknown">  
4     <set name="testset11" description="sample_description" type="unknown" feature="sample_set_feature" timeout="15">    
5       <pre_steps>
6          <step>sleep 30 <![CDATA[&]]></step>
7          <step>/home/ubuntu/testscript.sh;pwd;ls;uname</step>
8       </pre_steps>
9             
10       <case name="serm002" description="description1" requirement="10001, 20001, 3000" timeout="30">
11         <step expected_result="0">cd</step>
12         <step expected_result="0">pwd</step>
13       </case>     
14
15       <case name="serm003" description="description2" requirement="10004">
16         <step>cd</step>
17       </case>
18
19       <case name="serm004" description="change to home directory">
20         <step>cd</step>
21       </case>
22
23       <environments> 
24         <scratchbox>true</scratchbox>
25         <hardware>false</hardware>
26       </environments>
27
28       <get>
29         <file>/tmp/*.txt</file>
30       </get>
31     </set>
32        
33     <set name="testset12" description="test set description" feature="feature2">
34         <post_steps>
35           <step>fasdffe</step>
36           <step>pwd</step>
37         </post_steps>
38         <case name="serm005" description="automatic test 1" timeout="20">
39             <step>uname</step>
40         </case>
41         <case name="manual_test_1" description="first manual test" manual="true" requirement="8000, 8001">
42             <step>first step</step>
43             <step>second step</step>
44         </case>
45         <case name="manual_test_2" description="second manual test" manual="true">
46             <step>Open a calculator. Expected result: the calculator is opened.</step>
47         </case>
48         <case name="serm006" description="automatic test 2">
49             <step>pwd</step>
50         </case>
51     </set>
52   </suite>
53
54   <suite name="examplebinary-tests2" domain="filtertest-domain2">
55     <set name="testset21" description="set description A" type="unknown" feature="feature2">
56       <pre_steps>
57          <step>cd</step>
58       </pre_steps>
59       <case name="abc111" description="case description 1" requirement="50001, 66666">
60         <step>cd</step>
61       </case>     
62       <case name="abc112" description="case description 2" requirement="50004">
63         <step>cd</step>
64       </case>
65       <case name="abc113" description="case description 3">
66         <step>cd</step>
67       </case>
68     </set>
69   </suite>
70
71   <suite name="examplebinary-tests3" domain="domain name with spaces">
72     <set name="testset31" description="set description B" type="unknown">
73       <pre_steps>
74          <step>cd</step>
75       </pre_steps>
76       <case name="abc211" description="case description 1" requirement="50001, 50002, 50003">
77         <step>cd</step>
78       </case>     
79       <case name="abc212" description="case description 2" requirement="66666">
80         <step>cd</step>
81       </case>
82       <case name="abc213" description="case description 3" requirement="50001">
83         <step>cd</step>
84       </case>
85     </set>
86   </suite>
87
88   <suite name="examplebinary-tests4" domain="domain &quot;name&quot; containing quotes">
89     <set name="Yet-another-test-set" description="set description C" type="Integration"> 
90       <!-- test for type filter -->
91       <pre_steps>
92          <step>cd</step>
93       </pre_steps>
94       <case name="xxx311" description="case description 1" insignificant="true" level="System" subfeature="my subfeature">
95         <!-- test for insignificant, level and subfeature filters -->
96         <step>cd</step>
97       </case>     
98       <case name="xxx312" description="case description 2">
99         <step>cd</step>
100       </case>
101       <case name="xxx313" description="case description 3">
102         <step>cd</step>
103       </case>
104     </set>
105
106   </suite>
107
108 </testdefinition>
109