diff options
author | Denis Anisimov <denis@vaadin.com> | 2016-10-14 11:36:18 +0300 |
---|---|---|
committer | Denis Anisimov <denis@vaadin.com> | 2016-10-14 14:26:01 +0000 |
commit | 3b454d94ae64f743d05cd7e94d00b354ff9d14eb (patch) | |
tree | b1dffb9ceb9818d292af4a1fda06bf05e5eeb74a /uitest/pom.xml | |
parent | ff4d7b1e9b7b4bf9a15bd199acc3d7a12c519cc2 (diff) | |
download | vaadin-framework-3b454d94ae64f743d05cd7e94d00b354ff9d14eb.tar.gz vaadin-framework-3b454d94ae64f743d05cd7e94d00b354ff9d14eb.zip |
Memory measurement test for V7&V8 Grids, 1 item and 100 000 items.
Change-Id: I66b358ff40703f2713272323ba1c5ae8778c8413
Diffstat (limited to 'uitest/pom.xml')
-rw-r--r-- | uitest/pom.xml | 91 |
1 files changed, 91 insertions, 0 deletions
diff --git a/uitest/pom.xml b/uitest/pom.xml index 6055d84d97..4b183e578b 100644 --- a/uitest/pom.xml +++ b/uitest/pom.xml @@ -330,6 +330,97 @@ <skip.uitest.deployment>false</skip.uitest.deployment> </properties> </profile> + <profile> + <id>default</id> + <activation> + <activeByDefault>true</activeByDefault> + </activation> + <build> + <plugins> + <plugin> + <artifactId>maven-surefire-plugin</artifactId> + <configuration> + <excludedGroups>com.vaadin.testcategory.MeasurementTest</excludedGroups> + </configuration> + </plugin> + </plugins> + </build> + </profile> + <profile> + <id>measurements</id> + <activation> + <activeByDefault>false</activeByDefault> + </activation> + <properties> + <skipTests>false</skipTests> + </properties> + <build> + <plugins> + <plugin> + <artifactId>maven-failsafe-plugin</artifactId> + <executions> + <execution> + <goals> + <goal>integration-test</goal> + <goal>verify</goal> + </goals> + </execution> + </executions> + <configuration> + <groups>com.vaadin.testcategory.MeasurementTest</groups> + <systemPropertyVariables> + <phantomjs.binary.path>${phantomjs.binary}</phantomjs.binary.path> + </systemPropertyVariables> + </configuration> + </plugin> + <plugin> + <groupId>org.eclipse.jetty</groupId> + <artifactId>jetty-maven-plugin</artifactId> + <configuration> + <httpConnector> + <port>8888</port> + </httpConnector> + <scanIntervalSeconds>-1</scanIntervalSeconds> + <stopPort>8081</stopPort> + <stopWait>5</stopWait> + <stopKey>foo</stopKey> + </configuration> + <executions> + <!-- start and stop jetty (running our app) when + running integration tests --> + <execution> + <id>start-jetty</id> + <phase>pre-integration-test</phase> + <goals> + <goal>start</goal> + </goals> + </execution> + <execution> + <id>stop-jetty</id> + <phase>post-integration-test</phase> + <goals> + <goal>stop</goal> + </goals> + </execution> + </executions> + </plugin> + <plugin> + <groupId>com.github.klieber</groupId> + <artifactId>phantomjs-maven-plugin</artifactId> + <executions> + <execution> + <goals> + <goal>install</goal> + </goals> + <configuration> + <version>${phantomjs.version}</version> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> + </profile> </profiles> </project> |