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.
It seems like you might be using the AIRCIListener... which requires AIR. You really just need the CIListener, which is the one you would use if you launch in Flash Player
Thank you Michael,
I resolved my problem by adding the the player attribute in the flexunit task as follow: