How can I unit test Flex applications from within the IDE or a build script?

Question :

How can I unit test Flex applications from within the IDE or a build script?,

Answer :

I’m currently working on an application with a frontend written in Adobe Flex 3. I’m aware ofbut what I’d really like is a unit test runner for Ant/NAnt and a runner that integrates with the Flex Builder IDE (AKA Eclipse). Does one exist?

Also, are there any other resources on how to do Flex development “the right way” besides the example?

,

The  testing framework has a test runner built with AIR which can be integrated with a build script.

Read More  GUI Automation testing – Window handle questions

There is also my automation kit which does more or less the same for FlexUnit. It has an Ant macro that makes it possible to run the tests as a part of an Ant script, for example:

        

That’s the answer How can I unit test Flex applications from within the IDE or a build script?, Hope this helps those looking for an answer. Then we suggest to do a search for the next question and find the answer only on our site.

Disclaimer :

The answers provided above are only to be used to guide the learning process. The questions above are open-ended questions, meaning that many answers are not fixed as above. I hope this article can be useful, Thank you