incubator-jspwiki-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Juan Pablo Santos Rodríguez (JIRA) <>
Subject [jira] [Commented] (JSPWIKI-770) Enable Selenium testing via Maven execution
Date Wed, 10 Apr 2013 18:06:15 GMT


Juan Pablo Santos Rodríguez commented on JSPWIKI-770:

At work we tackled this by having a separate, sibling module, with several submodules:

* one jar module holding the Selenium tests, in order to reuse them (the "it-tests-module")
* one war per configuration. Each of these wars has as a dependency jspwiki.war, so taking
advantage of war overlays each of these wars only contain the parts that differ (most probably and web.xml?)
* container start/stop can be launched through the appropiate maven plugins, be it jetty or
* Selenium is configured to read tests from the it-tests-module 

Note that this implies moving the current SVN trunk one folder up, so we should end up having
$SVN/trunk something like:

      + pom.xml                     --> new parent pom
      + jspwiki-war
          + pom.xml                 --> current $SVN/trunk/pom.xml
          + src, test, etc          --> current $SVN/trunk/src, tests, etc
      + jspwiki-selenium
          + pom.xml
          + it-tests-modules
          + jspwiki-vanilla-selenium-war
          + jspwiki-db-selenium-war
          + etc

(the new parent pom would have appeared sooner or later as for JSPWIKI-771 anyways). If you
give me a cuople of days I can drop here a sample maven configuration to run selenium tests

Last, this would allow us to drop selenium-server-standalone-2.25.0.jar, the only one which
is not downloaded from maven repo, being +30MB fat

juan pablo
> Enable Selenium testing via Maven execution
> -------------------------------------------
>                 Key: JSPWIKI-770
>                 URL:
>             Project: JSPWiki
>          Issue Type: New Feature
>          Components: Build system
>            Reporter: Juan Pablo Santos Rodríguez

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message