Execute TestRunner on Server
I am completely new to Flex and FlexUnit. I am trying to execute a unit test that tests whether a rest webservice call generates the correct output. I am using the FlexUnit Ant task and I deploy the TestRunner.swf to the server where I want to TestRunner to run/execute the test, so that the rest call can be made properly. When I try this from the browser it works perfectly, but when I put the following in the Ant Task I get and error. Can anyone PLEASE help me with this??? What am I doing wrong???
...
<flexunit player="flash" swf=http://localhost:8080/TestRunner.swf toDir="${reports.dir}" haltonfailure="false" verbose="true" localTrusted="true"/>
...
I get this error:
Build Faild: the provided swf property value C:\User\workspace\flexunit\https:\localhost:8080:TestRunner.swf could not be found.
