diff options
Diffstat (limited to 'uitest')
-rw-r--r-- | uitest/build.xml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/uitest/build.xml b/uitest/build.xml index ab0c154ba8..6a40f8e539 100644 --- a/uitest/build.xml +++ b/uitest/build.xml @@ -28,6 +28,31 @@ <get src="${vaadin.build.repository}/com/vaadin/vaadin-uitest/${vaadin.version}/vaadin-uitest-${vaadin.version}.war" dest="${vaadin.basedir}/uitest/target/vaadin-uitest-${vaadin.version}.war"/> </target> + <!-- run both normal and server tests --> + <target name="test-all" depends="clean-testbench-errors"> + <property name="war.file" + location="${vaadin.basedir}/uitest/target/vaadin-uitest-${vaadin.version}.war" /> + <mkdir dir="${vaadin.basedir}/result" /> + <parallel> + <daemons> + <ant antfile="${uitest.dir}/vaadin-server.xml" + inheritall="true" inheritrefs="true" target="deploy-and-start" /> + </daemons> + <sequential> + <ant antfile="${uitest.dir}/vaadin-server.xml" + target="wait-for-startup" /> + <ant antfile="${uitest.dir}/tb3test.xml" target="run-all-tb3-tests" + inheritall="true" /> + <!-- within sequential for now not to cause problems with result parsing in CI --> + <ant antfile="${uitest.dir}/integration_tests.xml" + target="integration-test-all" inheritall="false" + inheritrefs="false"> + <property name="demo.war" value="${war.file}" /> + </ant> + </sequential> + </parallel> + </target> + <target name="test-server" depends="clean-testbench-errors"> <property name="war.file" location="${vaadin.basedir}/uitest/target/vaadin-uitest-${vaadin.version}.war" /> |