[
http://jira.codehaus.org/browse/MOJO-989?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
nicolas de loof closed MOJO-989.
--------------------------------
Assignee: nicolas de loof
Resolution: Won't Fix
The jsunit mojo requires all js resources (main/scripts + test/scripts +
resources) to be copied into a working directory to match the target
environment. The prepare-tests mojo does this pre-test setup.
> Path to test pages uses workDirectory instead of testSourceDirectory
> --------------------------------------------------------------------
>
> Key: MOJO-989
> URL: http://jira.codehaus.org/browse/MOJO-989
> Project: Mojo
> Issue Type: Bug
> Components: javascript-tools
> Reporter: Bryan Kyle
> Assignee: nicolas de loof
> Attachments: patch.diff
>
>
> When running the javascript:jsunit goal, the testPage parameter is pointing
> to the wrong location. As generated from the Mojo, the URL is:
> file:///E:/src/WS-Trunk/translator/war/src/test/jsunit/testRunner.html?autoRun=true&submitresults=true&resultid=TEST-testsuite&testPage=E:/src/WS-Trunk/translator/war/target/test-scripts/testsuite.html
> However, it should be:
> file:///E:/src/WS-Trunk/translator/war/src/test/jsunit/testRunner.html?autoRun=true&submitresults=true&resultid=TEST-testsuite&testPage=E:/src/WS-Trunk/translator/war/src/test/javascript/testsuite.html
> It appears that the Mojo is using workingDirectory as the root of the
> testPage instead of testSourceDirectory.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email