Template Maven project for using Selenium integration testing in Vaadin framework.
selenium-test
contains Selenium dummy tests for testing maven configuration.vaadin-sample
contains minimal Vaadin application with some common components for testing and unit/IT tests for it.
Run mvn clean verify
to use only unit tests.
Run mvn clean verify -P IT
to use unit tests and integration tests.
In this profile before launching ITs will start jetty plugin and will stop after execution.
Note that all integration test classes need contain IT
in beginning
or ending of name (for example IT_Test
or TestIT
). Otherwise Maven
will think than its are unit tests will execute them before building
application.