This repository contains a set of integration tests for all Dandelion components, including the core of the framework.
All tests use the following technology stack:
- FluentLenium, which provides a fluent interface to the Selenium Web Driver and pulls Selenium
- GhostDriver which provides Web Driver bindings for Java and uses PhantomJS as back-end
- Phanbedder which smartly ships PhantomJS binaries, thus simplifying the required configuration both on workstations and in the Cloud
- AssertJ as a replacement for JUnit assertions
- Jetty as an embedded Web server
And depending on the test context:
All integration tests are automatically executed as soon as the corresponding component is built on Jenkins. All IT statuses can be seen below:
Dandelion-Core | |
Dandelion-Datatables | |
Dandelion-Select2 | Soon... |
Just right-click on the dandelion-it Maven project, then select Maven in the left menu and enter the following pattern:
[component-name]-[template-engine]
Where component-name
is one of:
core
for Dandelion-Coredatatables
for the Dandelion-Datatables componentselect2
soon...
And template-engine
is one of:
jsp
for executing the integration tests using JSPtml
for executing the integration tests using Thymeleaf
For example, when activating the following profile, IT related to Dandelion-Datatables only will be executed.
TODO
In order to launch tests from Maven, execute:
mvn verify -P [component-name]-[template-engine]
See above for the signification of component-name
and template-engine
.
= The Dandelion team.