Prepare:
1. Download Eclipse SDK
http://download.eclipse.org/eclipse/downloads/drops/R-3.7.1-201109091335/index.php
2.JUnit Plugin Tests and Automated Testing Framework
http://download.eclipse.org/eclipse/downloads/drops/R-3.7.1-201109091335/download.php?dropFile=eclipse-Automated-Tests-3.7.1.zip
3.install JAVA JSDK
http://www.oracle.com/technetwork/java/javase/downloads/index-jsp-138363.html
Note: make sure JSDK is installed at a directory the name of which does not contain space and short
Setup:
1. unzip eclipse-Automated-Tests-3.7.1.zip into c:\, it will create c:\eclipse-testing sub directory.
2. put the downloaded eclipse sdk package into c:\eclipse-testing. Don't unzip it.
3.rename this package according to your platform.
refer to target section of test.xml:
<target name="setRuntimeArchive">
and "buildId" property defined in "label.properties"
4. add/modify platform achive setting accoding to <target name="setupPlatform"> of test.xml
modify equinoxp2tests.properties to specify the platform archive 's location to c:\eclipse-testing\SDK archive
Run:
runtests -os linux -ws gtk -arch x86 testtarget1 testtarget2
Run output:
c:\eclipse-testing\results.
about coverage:
This test framework use jacoco in org.eclipse.test_xxx plugin which will set the javaagent vm argument automatically for you.
please make sure the tested plugin is compiled with debug symbols.
Note: ${os.arch} is different than the ${arch} defined from your command line:
runtests -os linux -ws gtk -arch x86 ant antui