<!-- ================================================================== -->
<!-- Configuration -->
<!-- ================================================================== -->
- <!-- Temporary output directory, created and removed by this script -->
- <property name="test-output-dir" value="../build/test-output" />
- <property name="class-dir" value="${test-output-dir}/classes" />
+ <!-- Browsers to use for testing -->
+ <property name="browsers" value="winxp-ie6,winxp-ie7,winxp-ie8,winxp-firefox35,winxp-safari4,winxp-googlechrome3,winxp-opera10" />
+
+ <!-- Screen shot base directory -->
<property name="com.vaadin.testbench.screenshot.directory" value="../tests/screenshots" />
+
+ <!-- Host running Testbench Hub -->
<property name="com.vaadin.testbench.tester.host" value="192.168.1.44" />
- <!-- Browsers to use for testing -->
- <property name="test-browsers" value="winxp-ie6,winxp-ie7,winxp-ie8,winxp-firefox35,winxp-safari4,winxp-googlechrome3,winxp-opera10" />
+ <!-- Temporary output directory, created and removed by this script -->
+ <property name="test-output-dir" value="../build/test-output" />
+
+ <property name="class-dir" value="${test-output-dir}/classes" />
<taskdef resource="net/sf/antcontrib/antcontrib.properties">
<classpath>
<pathelement location="../build/lib/ant-contrib-1.0b3.jar"/>
<java classname="com.vaadin.testbench.util.TestConverter" classpathref="classpath">
<arg value="${test-output-dir}" />
- <arg value="${test-browsers}" />
+ <arg value="${browsers}" />
<arg line="${testfiles}" />
</java>
</target>
<fail unless="com.vaadin.testbench.deployment.url" message="The 'com.vaadin.testbench.deployment.url' property must be defined." />
</target>
- <target name="run-tests" depends="remove-error-screens,compile-tests">
- <foreach parallel="true" target="execute-tests" param="target">
+ <target name="run-tests" depends="remove-error-screens, compile-tests">
+ <foreach maxthreads="10" parallel="true" target="execute-tests" param="target">
<path>
<fileset dir="${test-output-dir}" includes="**/**.java" />
</path>