Running Acceptance Tests From Eclipse broken
--------------------------------------------
Key: MIFOS-4177
URL: http://mifosforge.jira.com/browse/MIFOS-4177
Project: mifos
Issue Type: Bug
Reporter: Michael Vorburger
Following instructions for "Running From Eclipse" as documented on
http://mifosforge.jira.com/wiki/display/MIFOS/Running+Acceptance+Tests does not
work on a master as of today.
When I run mvn selenium:start-server -Pdev it starts up on port 4444, but when
I run an individual test such as DefineLabelsTest vai right-click Run As TestNG
in the Eclipse IDE, it seems to look for a Selenium on port 4445. Somehow the
<selenium.port>4445</selenium.port> in acceptanceTests/pom.xml doesn't seem to
be taken into account, and the port 4444 must be Selenium's default.
I can work around it by setting selenium.port=4444 (instead of 4445), and
servlet.port=8080 (instead of 8083) in either
acceptanceTests/src/test/resources/org/mifos/config/resources/acceptanceTest.properties
or in ~/.mifos/local.properties (tested and then works from withint Eclipse
IDE), but that's probably not the intention, and would also broken the CLI mvn
acceptanceTest (which I did not re-run) ?
If setting these two properties in local.properties is the correct solution
(and mvn clean install will still work!) then
http://mifosforge.jira.com/wiki/display/MIFOS/Running+Acceptance+Tests should
be updated, else this should be fixed - somehow.
A few weeks ago this worked out-of-the-box, I think.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://mifosforge.jira.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
Spend less time writing and rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues