forked from VEuPathDB/FunctionalTests
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathReadme.legacy
68 lines (56 loc) · 2.23 KB
/
Readme.legacy
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
60
61
62
63
64
65
66
67
stuff for web application testing and reporting
!! Compilation of the java classes uses the GUS build system.
build EbrcWebsiteCommon/Watar-Installation install -append
!! installation
ant -file $PROJECT_HOME/EbrcWebsiteCommon/Watar/build.xml \
-Dcomp=Watar \
-Dproj=EbrcWebsiteCommon \
-DprojectsDir=$PROJECT_HOME \
-DtargetDir=$PROJECT_HOME/test_home \
install
!! example installation, remove any previous results, run smoketests
!! defined in config/smoketest.xml
ant -file $PROJECT_HOME/EbrcWebsiteCommon/Watar/build.xml \
-Dcomp=Watar \
-Dproj=EbrcWebsiteCommon \
-DprojectsDir=$PROJECT_HOME \
-DtargetDir=$PROJECT_HOME/test_home \
-Dbaseurl='http://integrate.toxodb.org' \
-Dwebappname='toxo.integrate' \
-DmsTimeout='30000' \
install cleantestresults smoketest
!! msTimeout is optional. Default is per htmlunit WebClientOptions.
!! run specified methods without ant
java -cp "$PROJECT_HOME/test_home/lib/java/*" \
-Dbaseurl='http://integrate.toxodb.org' \
-Dwebappname='toxo.integrate' \
org.testng.TestNG \
-methods 'org.apidb.eupathsitecommon.watar.SmokeTests.WsfServicePage_HttpHeaderStatusIsOK'
!! example installation, remove any previous results, run
!! testbynames; where testnames are defined in
!! config/smoketest_ng.xml.
ant -file $PROJECT_HOME/EbrcWebsiteCommon/Watar/build.xml \
-Dproj=EbrcWebsiteCommon \
-Dcomp=Watar \
-DtargetDir=$PROJECT_HOME/test_home \
-DprojectsDir=$PROJECT_HOME \
-Dbaseurl=http://integrate.toxodb.org \
-Dwebappname=toxo.integrate \
-Dtestnames="QA" \
-DmsTimeout=30000 \
cleantestresults cleaninstall testbynames
!! testnames (when using testbynames ant target) are
!! defined in config/smoketest_ng.xml . For example,
!! -Dtestname="QA" will run 'deployment' and 'xmlrecord' tests.
!! Those names correspond to test groups in the SmokeTests class.
<test name="QA" junit="false" enabled="true">
<groups>
<run>
<include name="deployment"/>
<include name="xmlrecord"/>
</run>
</groups>
<classes>
<class name="org.apidb.eupathsitecommon.watar.SmokeTests"/>
</classes>
</test>