forked from menonvarun/andro_auto_framework
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
32 lines (26 loc) · 1.22 KB
/
build.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
<?xml version="1.0" encoding="UTF-8"?>
<project name="bot-bot-root" default="usage">
<import file="runner/build.xml"/>
<import file="recorder/build.xml"/>
<target name="runner">
<ant antfile="runner/build.xml" inheritAll="false">
<reference refid="RELEASE_ROOT"/>
</ant>
</target>
<target name="recorder">
<ant antfile="recorder/build.xml" inheritAll="false"/>
</target>
<target name="server">
<java dir="./server/" fork="true" jar="./server/bot-bot-server-standalone.jar"/>
</target>
<target name="usage">
<echo message="Following targets are available:" />
<echo message=""/>
<echo message=" server - Run the command 'ant server'. This will start your server and you can access the server at 'http://localhost:8080/index.html'"/>
<echo message=""/>
<echo message=" recorder - Run the command 'ant recorder'. This will take the configuration from the default.properties integrates the recorder with apk and install it to device or simulator."/>
<echo message=""/>
<echo message=" runner - Run the command 'ant runner'. This will take the test-cases from the folder mentioned in default.propeties, run them on your said app on the device/emulator and generates html report for your test execution.
"/>
</target>
</project>