summaryrefslogtreecommitdiffstats
path: root/uitest/tb3test.xml
diff options
context:
space:
mode:
authorTeemu Suo-Anttila <tsuoanttila@users.noreply.github.com>2017-02-01 17:17:15 +0200
committerHenri Sara <henri.sara@gmail.com>2017-02-01 17:17:15 +0200
commit53674a7cafc22e8e21f5a7d46df0f5c126fb76c6 (patch)
tree7bb8916c2b891808e78ca95f0ae150e9b03060cc /uitest/tb3test.xml
parent8e20ab0f05603cb81a8bdbf456f63c9a49eb1d3b (diff)
downloadvaadin-framework-53674a7cafc22e8e21f5a7d46df0f5c126fb76c6.tar.gz
vaadin-framework-53674a7cafc22e8e21f5a7d46df0f5c126fb76c6.zip
Refactor testing of the framework (#8393)
* Integration tests moved from uitest to separate test modules * Run TB4 tests with maven profile * Remove old ant/ivy build scripts from uitest * Add 'needs-ssh' test category for reconnection test * Add default values for testing and validation builds * Add placeholder build.xml with instructions to run Maven
Diffstat (limited to 'uitest/tb3test.xml')
-rw-r--r--uitest/tb3test.xml55
1 files changed, 0 insertions, 55 deletions
diff --git a/uitest/tb3test.xml b/uitest/tb3test.xml
deleted file mode 100644
index 1e4eb02d4e..0000000000
--- a/uitest/tb3test.xml
+++ /dev/null
@@ -1,55 +0,0 @@
-<?xml version="1.0"?>
-<project name="tb3test" xmlns:antcontrib="antlib:net.sf.antcontrib" xmlns:ivy="antlib:org.apache.ivy.ant" basedir=".">
-
- <dirname property="tb3test.dir" file="${ant.file.tb3test}" />
- <property name="report.dir" location="${tb3test.dir}/result/reports-tb3" />
- <property name="browsers.include" value="" />
- <property name="browsers.exclude" value="" />
- <property name="browser.factory" value="" />
- <property name="categories.include" value="" />
- <property name="categories.exclude" value="" />
- <property name="useLocalWebDriver" value="false" />
- <property name="com.vaadin.testbench.max.retries" value="0" />
- <property name="com.vaadin.testbench.hub.url" value="" />
- <property name="vaadin.testbench.developer.license" value="" />
- <property name="junit.test.suite" value="com.vaadin.tests.tb3.AllTB3Tests" />
-
- <ivy:resolve file="${tb3test.dir}/ivy.xml" conf="build, build-provided" />
- <ivy:cachepath pathid="classpath.tb3.lib" conf="build, build-provided" />
- <path id="classpath.tb3">
- <path location="${tb3test.dir}/target/test-classes" />
- <path refid="classpath.tb3.lib" />
- <path location="${tb3test.dir}/target/classes" />
- </path>
-
- <target name="run-all-tb3-tests" unless="tests.tb3.skip"
- description="Run all the TB3 tests (except server tests) in the project">
- <antcall target="run-tb3-suite" />
- </target>
-
- <target name="run-tb3-suite">
- <fail unless="com.vaadin.testbench.screenshot.directory" message="Define screenshot directory using -Dcom.vaadin.testbench.screenshot.directory" />
- <delete dir="${report.dir}" />
- <mkdir dir="${report.dir}" />
-
- <junit showoutput="no" printsummary="no" fork="yes">
- <formatter type="xml" />
- <classpath refid="classpath.tb3" />
-
- <jvmarg value="-Dcom.vaadin.testbench.screenshot.directory=${com.vaadin.testbench.screenshot.directory}" />
- <jvmarg value="-Djava.awt.headless=true" />
- <jvmarg value="-Dbrowsers.include=${browsers.include}" />
- <jvmarg value="-Dbrowsers.exclude=${browsers.exclude}" />
- <jvmarg value="-Dbrowser.factory=${browser.factory}" />
- <jvmarg value="-Dcategories.include=${categories.include}" />
- <jvmarg value="-Dcategories.exclude=${categories.exclude}" />
- <jvmarg value="-DuseLocalWebDriver=${useLocalWebDriver}" />
- <jvmarg value="-Dcom.vaadin.testbench.max.retries=${com.vaadin.testbench.max.retries}" />
- <jvmarg value="-Dcom.vaadin.testbench.hub.url=${com.vaadin.testbench.hub.url}" />
- <jvmarg value="-Dvaadin.testbench.developer.license=${vaadin.testbench.developer.license}" />
- <test name="${junit.test.suite}" todir="${report.dir}" />
- </junit>
-
- </target>
-
-</project>