-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
/
test_suite.xml
50 lines (44 loc) · 2.04 KB
/
test_suite.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
<?xml version="1.0" encoding="UTF-8"?>
<project name="Piwik" default="Level3" basedir=".">
<target name="setup">
<mkdir dir="${screens}" />
</target>
<target name="Level0" if="test.level0" depends="setup">
<echo>Starting smoke tests...</echo>
<subant failonerror="${wt.config.failOnError}" inheritall="true">
<fileset dir="${testcase.dir}/level0" includes="${testcase.level0.pattern}"/>
</subant>
<echo>##################################</echo>
<echo># 0 level smoke tests - FINISHED!#</echo>
<echo>##################################</echo>
</target>
<target name="Level1" if="test.level1" depends="Level0">
<echo>Starting setup tests...</echo>
<subant failonerror="${wt.config.failOnError}" inheritall="true">
<fileset dir="${testcase.dir}/level1" includes="${testcase.level1.pattern}"/>
</subant>
<echo>#################################</echo>
<echo># 1st level tests - FINISHED! #</echo>
<echo>#################################</echo>
</target>
<target name="Level2" if="test.level2" depends="Level1">
<echo>Starting setup tests...</echo>
<subant failonerror="${wt.config.failOnError}" inheritall="true">
<fileset dir="${testcase.dir}/level2" includes="${testcase.level2.pattern}"/>
</subant>
<echo>###################################</echo>
<echo># 2nd level test - FINISHED! #</echo>
<echo>###################################</echo>
</target>
<target name="Level3" if="test.level3" depends="Level2">
<echo>Starting UI tests - 3rd level...</echo>
<echo>+-----------------------------------------+</echo>
<echo>| WARNING! 3rd Level tests are optional |</echo>
<echo>| and could fail without BUILD FAILED! |</echo>
<echo>+-----------------------------------------+</echo>
<subant failonerror="${wt.config.failOnError}" inheritall="true">
<fileset dir="${testcase.dir}/level3" includes="${testcase.level3.pattern}"/>
</subant>
<echo>3rd level smoke tests finished - check for potential errors!</echo>
</target>
</project>