summaryrefslogtreecommitdiffstats
path: root/test/README.md
blob: b89a34da49753935eedbcc5e27703f520f7e6cca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Vaadin Test

This is a test project to verify the basic functionality of various related plugins and addons.

## General use

To validate a given Vaadin Version, run `mvn clean verify -Dvaadin.version=VERSIONNUMBER`.

## Server testing

To validate only server compatibility, run `mvn clean verify -Dvaadin.version=VERSIONNUMBER` in the `servlet-containers` module.

To test only a subset of the servers, there are profiles with the server name. For example `-P wildfly` runs all Wildfly tests, `-P glassfish,jetty` runs all the Glassfish and Jetty tests.

## Running an individual test locally

To install dependencies for testing an individual module locally, run `mvn clean install -Dinstall.skip=false` in the dependency module.

For example you can install all dependencies for running any individual server test module with the following command in the test root:
```
mvn clean install -Dinstall.skip=false -pl .,servlet-containers,servlet-containers/generic-ui,servlet-containers/generic-tests
```

This will install the parent POMs on both levels as well as the UI and server test dependencies.