2 Replies Latest reply on Mar 15, 2012 2:05 AM by Ygor Marwen

    Can not run flexunit tests from ant

    Ygor Marwen


      I'm trying to script test execution in order to integrate tests in Jenkins. I followed the wiki article here http://docs.flexunit.org/index.php?title=Ant_Task


      The tests run successfully with Flash Builder but not with ant. I'm getting the following error:



      VerifyError: Error #1014: The class flash.filesystem::FileStream could not be found


      I think that this occurs because I'm using the flashplayer_11 as suggested in the wiki article and flashplayer does not load the airglobal.swc component.

      I noticed that Flash Builder launches the ADL.exe process; whereas flexunit within ant tests launches flashplayer.exe.


      Should I use ADL.exe with flexunit instead of Flash player ? In that case how to use adl argument in flexunnit ? I saw that Richard Lee has committed a fix to make flexunit support ADL arguments, how ?

      Is there a solution to my problem ?


      Thanks in advance.