mvn install
- will run unit tests, but no TestBench tests.
Run mvn --activate-profiles=local-it verify
.
CI runs command line mvn --activate-profiles=gitlab-it $MAVEN_CLI_OPTS verify
.
When local-it
or gitlab-it
is activated, jetty-maven-plugin
is configured to start jetty in Maven's pre-integration-test
phase and stop it in post-integration-test
.
maven-failsafe-plugin
will run any @Test
annotated methods from classes matching to patterns: **/IT*.java
, **/*IT.java
and **/*ITCase.java
.
org.vaadin.jonni.testbench.MyIT
extends TestBench's ParallelTest
which looks up from Java system property com.vaadin.testbench.Parameters.hubHostname
where it can find a remotely conrollable web browser.
Defines environment variables, Docker images and commands for Docker based build pipelines. See .gitllab-ci.yml
and GitLab documentation for more info.
When modifying the .gitlab-ci.yml it can be extremyly useful to debug the GitLab CI builds locally.