[
https://issues.apache.org/jira/browse/JSPWIKI-770?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13628052#comment-13628052
]
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 jspwiki.properties and web.xml?)
* container start/stop can be launched through the appropiate maven plugins, be
it jetty or tomcat
* 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:
{code}
+ 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
{code}
(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
br,
juan pablo
> Enable Selenium testing via Maven execution
> -------------------------------------------
>
> Key: JSPWIKI-770
> URL: https://issues.apache.org/jira/browse/JSPWIKI-770
> 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: http://www.atlassian.com/software/jira