Run html4j tests via selenium

This commit is contained in:
Alexey Andreev 2015-10-20 22:27:59 +03:00
parent 385b696de9
commit 9e5309a986
3 changed files with 29 additions and 7 deletions

View File

@ -104,6 +104,30 @@
</excludeWildcards>
</configuration>
</execution>
<execution>
<id>run-javascript-tests</id>
<goals>
<goal>test</goal>
</goals>
<configuration>
<skip>${teavm.test.skip}</skip>
<numThreads>${teavm.test.threads}</numThreads>
<seleniumURL>${teavm.test.selenium}</seleniumURL>
</configuration>
</execution>
<execution>
<id>run-javascript-tck</id>
<goals>
<goal>test</goal>
</goals>
<configuration>
<testDirectory>${project.build.directory}/javascript-tck</testDirectory>
<reportFile>${project.build.directory}/teavm-tck-report.json</reportFile>
<skip>${teavm.test.skip}</skip>
<numThreads>${teavm.test.threads}</numThreads>
<seleniumURL>${teavm.test.selenium}</seleniumURL>
</configuration>
</execution>
</executions>
</plugin>
<plugin>

View File

@ -71,6 +71,11 @@
<slf4j.version>1.7.7</slf4j.version>
<selenium.version>2.47.2</selenium.version>
<jackson.version>2.6.2</jackson.version>
<teavm.test.incremental>false</teavm.test.incremental>
<teavm.test.threads>1</teavm.test.threads>
<teavm.test.selenium></teavm.test.selenium>
<teavm.test.skip>true</teavm.test.skip>
</properties>
<modules>

View File

@ -27,13 +27,6 @@
<name>TeaVM tests</name>
<description>Project containing TeaVM tests, as it is impossible to test each module separately</description>
<properties>
<teavm.test.incremental>false</teavm.test.incremental>
<teavm.test.threads>1</teavm.test.threads>
<teavm.test.selenium></teavm.test.selenium>
<teavm.test.skip>true</teavm.test.skip>
</properties>
<dependencies>
<dependency>
<groupId>org.teavm</groupId>