I believe you also have to make sure the script is copied to the build
folder. Try adding the following key to your config:

"testrunner::build-tests-files" : {
    "copy-files" :  {
        "files"     : [ "script/util.js" ]
    }
}

Hope this helps,
T.


On Wed, Jan 20, 2016 at 8:12 AM, Josep Torres <tor...@newvoice.ch> wrote:

> Hi all,
>
> I am trying to add an external script to the Testrunner application.
> When I add it to the source version everything is fine, but when I add it
> to the build version then I am not able to load the testrunner application.
>
> Those are the important bits of my config.json
> "testrunner::source-tests-script":
>     {
>       "add-script": [{"uri":"../script/util.js"}]
>     },
>     "testrunner::build-tests-script":
>     {
>       "add-script": [{"uri":"../script/util.js"}]
>     }
>
>
> When I load the source application under test/index-source.html everything
> works fine, the script is loaded and all the functions inside are found.
> However when I load the build version I have an error message and the
> testrunner application is not able to load the test.
>
> The alert dialog says:
> The test suite couldn't be loaded. Make sure the AUT URI is correct, e.g.
> /html/tests.html
>
> Also check the testclass parameter this should be .... according to
> current config
>
> And the testrunner application does not load test classes.
>
> Best Regards.
>
>
>
> ------------------------------------------------------------------------------
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
> _______________________________________________
> qooxdoo-devel mailing list
> qooxdoo-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to