Posted by: George Christopher | August 5, 2009

FlexMonkey – Unit testing tool for Flex

I am a strong believer in unit testing and believe that these tests when integrated with the continuous build process ensure the quality of large applications. Junit for example is used in almost all Java applications for writing unit tests and they are integrated with the build process so that it alerts the users in case of any failures in tests because of a newly updated code. This feature is very useful especially if the code runs into millions of lines of code. Without these tools no one would be able to tell whether a newly added line of code would affect the functionality or not.

While I was searching for a tool like Junit for Flex, I came across FlexMonkey and I found it to be very useful. I have given below the details of the same.


FlexMonkey is a testing framework for Flex apps that provides for the capture, replay and verification of Flex UI functionality. FlexMonkey can record and playback Flex UI interactions, and generates ActionScript-based testing scripts that can easily be included within a continuous integration process. It uses the Flex Automation API and was created by extending Adobe’s sample automation adapter, AutoQuick.

Visit the FlexMonkey Project Home site for downloads and documentation. FlexMonkey has been donated to the Flex community by Gorilla Logic, who developed FlexMonkey because of their belief that only monkeys would develop code without being able to automate their testing.


  • Records and plays back Flex UI interactions
  • UI Interactions can be edited and replayed
  • Generates FlexUnit TestCases, and can also be used with non-FlexUnit-based testing frameworks
  • Works with Flex and AIR apps
  • Apps can be tested running standalone or in a browser
  • Tests can be run from build systems such as Ant
  • Handles all Flex UI events
  • Uses Flex Automation API to provide native control over your flex app. Requires no javascript or browser plug-ins to use.
  • Unit tests are written entirely in ActionScript. No other programming or special purpose scripting languages are needed to develop comprehensive UI test suites.
  • Non-invasive. Requires no modifications to your application source.




Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s


%d bloggers like this: