Why FlexMonkey is Game Changing for Flex Developers

Posted in FlexMonkey, Jon Rose on December 6th, 2009 by jonr

jonr originally posted this on Jon Rose's Blog.

What is FlexMonkey?

FlexMonkey is an open source Adobe AIR application used for testing Flex and AIR applications.  It provides the functionality to record, playback, and verify Flex UI interactions.  It also generates ActionScript / fluint tests that you can easily include within a continuous integration environment.

Who is FlexMonkey for?

Like many in the Flex community, we came to Flex development after many years of developing traditional web applications, where there are multiple tools that allow a developer to simulate a UI client for testing (like HTMLUnit).  For testing our Flex user interfaces, we had a strong desire to continue using this paradigm for our developer level testing.

As software consultants, ensuring quality is an important part of what we do.  So, we created FlexMonkey to fill the gap between a unit test and what’s really needed to ensure quality (and protect against regression) when developing user interfaces.  While we initially created FlexMonkey for developers, many in the FlexMonkey community have found it just as valuable for use in creating QA / Functional tests.

So, we believe that FlexMonkey is useful to both software developers and quality control engineers on Flex development projects.

So, what’s so game changing about it?

If you ask Mike Labriola (one of the Fluint/FlexUnit 4 guys), ‘How do I unit test my Flex user interfaces?’  He will quickly respond, ‘You don’t.’  He won’t tell you this because he doesn’t believe in unit testing (as I can assure you that he strongly believes in Unit Testing), but because there are parts of a user interface that cannot be sufficiently tested with unit tests.

So, as we jump into the reasons why FlexMonkey matters for you, I’ll note that we do not believe that FlexMonkey replaces the need for traditional unit tests.  There are still parts of a Flex application that are best tested this way (e.g. service clients, business logic, etc.).  If you are building a framework, it’s likely that the majority of your testing will be done through unit tests, but if you are focusing on features and functionality you will likely be able to achieve upwards of 80% of your testing goals with FlexMonkey.  Nevertheless, here are the high level places where FlexMonkey changes the game:

  1. FlexMonkey fills the gap left between unit testing and a truly successful test suite,  as it provides a tool for doing developer level functional tests that replace traditional unit testing activities that developers perform in other tiers of application development.
  2. FlexMonkey allows developers to write their user interface code in the most natural way. Typically, when developing a user interface application without a tool to simulate a client of the running application, the code has to be written differently to support testing.  This often leads to many unnatural acts, which can be avoided when using FlexMonkey.

    For the Java folks, I like to bring up the SpringFramework here, as it provides us with a powerful example of a framework that largely succeeded because it allows developers to write their code in a natural way.  Over the long run, the frameworks and tools that make it possible for developers to work in the most natural way will always win out.

    Tools like FlexMonkey are able to facilitate this simply through the paradigm they provide for testing user interfaces, as they allow developers to test applications without any knowledge of the underlying code.

  3. Cost. FlexMonkey is free.  So, even though it’s not a perfect tool, it does enable one to build and deploy a successful test suite, a task that is extremely difficult and costly in Flex development without FlexMonkey.

You can find the FlexMonkey project at: http://flexmonkey.gorillalogic.com/

FlexMonkey is built and open-sourced by Gorilla Logic, Inc.

FlexMonkey 1.0 Beta 2 and the FlexMonkey User Guide are here!

Posted in FlexMonkey, Uncategorized on August 18th, 2009 by admin

admin originally posted this on FlexMonkey :: Flex UI Testing Tool.

Announcing the immediate availability of FlexMonkey 1.0 Beta 2! After the very successful Beta 1 launch last month, we are pleased to bring you Beta 2. Since Beta 1 had very frew issues, Beta 2 is much more of an enhancement than a bug-fix release.

Most notably, Beta 2 introduces “MonkeyLink”, which allows you to link FlexMonkey directly into your target SWF. If you have had any problems dynamically loading your application through the FlexMonkey Console or the MonkeyAgent, you can now instead compile MonkeyLink into your application SWF, and then launch your application directly. Using MonkeyLink, you can test virtually any Flex or AIR application. Dynamic SWF loading with the Console or the MonkeyAgent are of course still supported so you also continue to have the option of testing SWFs without having to first recompile them.

Download FlexMonkey 1.0 Beta 2 now at http://flexmonkey.gorillalogic.com/gl/stuff.flexmonkey.download.html!

The long-awaited FlexMonkey User Guide is available at http://flexmonkey.gorillalogic.com/gl/stuff.flexmonkey.documentation.html! Weighing in at nearly 60 pages, the FlexMonkey User Guide is like having your very own Eric Owens!

Happy testing!

FlexMonkey on DrunkOnSoftware.com

Posted in FlexMonkey on July 20th, 2009 by jonr

jonr originally posted this on FlexMonkey :: Flex UI Testing Tool.

In another exciting installment of Jon Rose and James Ward’s Drunk On Software, they chat with FlexMonkey project founder Stu Stern in celebration of the first production release of FlexMonkey. The  conversation may lack a bit of focus, but does have some good info if you stick with it.

FlexMonkey Resources:

You can find the original post here: http://www.drunkonsoftware.com/2009/07/14/episode-14-flexmonkey/

Episode 14: FlexMonkey Fiesta at Casa Bonita

Posted in Drunk On Software, FlexMonkey, Jon Rose on July 20th, 2009 by jonr

jonr originally posted this on Jon Rose's Blog.

In another exciting installment of Drunk On Software, we chat with Gorilla Logic’s Stu Stern in celebration of the first production release of FlexMonkey. Our conversation may lack a bit of focus, but does have some good info if you stick with us. We hope you enjoy watching as much as we enjoyed filming it.

FlexMonkey Resources:

You can find the original post here: http://www.drunkonsoftware.com/2009/07/14/episode-14-flexmonkey/

FlexMonkey brings unit testing to Flex user interface developers

Posted in FlexMonkey on July 19th, 2009 by jonr

jonr originally posted this on FlexMonkey :: Flex UI Testing Tool.

In Stu Stern’s recent InfoQ.com article on UI testing and FlexMonkey, he explains the code-a-little-test-a-little (CALTAL) approach to test driven development with user interface development and walks you through using FlexMonkey to support the theory.

The practice of maintaining automated unit test suites has gained widespread acceptance over the past decade to the point where most developers today either engage in some amount of test writing or at least feel bad for not doing it. This rise in automated unit testing has led to some confusion about who should be testing what. Should developers strive for 100% code coverage with their unit tests, and if so, does that mean we no longer need dedicated QA testers? Many development teams draw the line at the user interface, reasoning that since user interfaces can be exercised with little or no programming they can be tested more economically by dedicated testers, either manually or with specialized testing tools. This division of labor has led many to divide the world of testing into “unit testing” and “functional testing”, with developers providing the former and QA testers providing the latter. In this article we’ll explore how Gorilla Logic’s new, open source Flex user interface automation testing tool, FlexMonkey, can enhance the productivity of both developers and QA testers. FlexMonkey allows developers to incorporate user interface testing into unit test suites and continuous integration environments, and allows QA testers to expand those unit tests to create and maintain comprehensive quality tests.

Enjoy the full article at: http://www.infoq.com/articles/flexmonkey-ui-unit-testing

Eric Owens’ Introduction to FlexMonkey Article

Posted in FlexMonkey on July 15th, 2009 by jonr

jonr originally posted this on FlexMonkey :: Flex UI Testing Tool.

In his recent Adobe Developer Center article, Eric shows you how to get started using FlexMonkey as part of your development flow.  Check out the article here: Testing Flex applications with FlexMonkey 1.0

FlexMonkey 1.0 Released

Posted in FlexMonkey on July 14th, 2009 by jonr

jonr originally posted this on FlexMonkey :: Flex UI Testing Tool.

Gorilla Logic Announces Release of FlexMonkey 1.0, an Open Source Tool for Testing Adobe Flex RIAs

FlexMonkey Brings the Power of Professional Record/Playback Test Automation Tools to Adobe Flex Development

Gorilla Logic, firm known industry-wide for providing “gorilla” consultants that deliver a 10X productivity improvement over other options, today announced the release of FlexMonkey 1.0. FlexMonkey, an open source testing tool for optimizing automated and unit testing of Adobe Flex RIAs, is another example of Gorilla Logic’s commitment to assisting clients and the market in developing the highest-quality applications possible.

”Adobe Flex is the leading standard for enterprise RIA development. When developing Flex-based mission-critical systems for our clients, we needed a production-quality testing tool that would tightly integrate with Flex Builder and FlexUnit,” said Eric Owens, FlexMonkey Product Manager. “FlexMonkey 1.0 is the answer to that need: by automating our interface testing with record/playback functionality, we provide higher quality solutions to our clients. We feel strongly that FlexMonkey should be free and open-sourced, and we’re now providing clients with FlexMonkey training as well as FlexMonkey-based testing services.”

Available since October 2008, Gorilla Logic has used FlexMonkey with a diverse set of clients in a variety of industries ranging from financial services to aerospace to media. During each project FlexMonkey has been an integral part of Gorilla Logic’s quality assurance for clients. Based on this proven value and their unique experience, Gorilla Logic is now offering FlexMonkey Training as well as Testing Services for Adobe Flex applications.

“We have been using FlexMonkey since October 2008 to test our Flex Applications interactively. We evaluated several interactive testing tools, and found FlexMonkey to be much lighter and more agile than the expensive products, even outperforming them in several areas. It is a great product, and the support from the Gorilla Logic team has been superb,” said Tracy Ellis, Manager, SAS (www.sas.com).

FlexMonkey 1.0 is an open-source solution for testing Adobe Flex RIAs and can be downloaded from flexmonkey.gorillalogic.com.  For questions regarding Adobe Flex training / mentoring, functional and load testing using FlexMonkey or other off-shore testing services provided by Gorilla Logic, please visit our website (www.gorillalogic.com) or send an email to info@gorillalogic.com.

About Gorilla Logic

Gorilla Logic is an enterprise application development services and consulting firm known industry-wide for providing “gorilla” consultants that deliver a 10X productivity improvement over other options. With industry-leading expertise in Java-related technologies and Adobe Flex RIA application development, Gorilla Logic has been engaged by Fortune 500 companies in industries ranging from financial services to entertainment to aerospace and government to work on mission critical projects. Gorilla Logic also develops tools to decrease the product development lifecycle and open sources them for the benefit of the market – FlexMonkey (flexmonkey.gorillalogic.com) and OpenGXE (www.gorillalogic.com/opengxe).

For more information about Gorilla Logic, please visit www.gorillalogic.com or email info@gorillalogic.com.

FlexMonkey 1.0 Release announced today by Gorilla Logic

Posted in FlexMonkey, Glen Whitbeck, Gorilla Logic, Uncategorized on July 14th, 2009 by admin

FlexMonkey 1.0 was released today by Gorilla Logic. FlexMonkey is an open source tool enabling visual testing of Adobe Flex Rich Internet Applications (RIAs). FlexMonkey can record user actions taken on a Flex UI (button clicks, typing, navigation, etc.). Along the way, the user can indicate assertion / validation information at desired points to test whether the UI has responded as expected. Then, FlexMonkey can playback the tests and report on the passage / failure of the assertions imbedded in the tests. This enables automated regression testing of a Flex User Interface.

FlexMonkey has been designed to integrate with FlexBuilder and FlexUnit. It is available as a free download at http://flexmonkey.gorillalogic.com/. Gorilla Logic also offers training and testing services. Information about these services can be explored at http://www.gorillalogic.com/what.development.services.flex.html.

Time for you to Touch our Monkey

Posted in FlexMonkey, Jon Rose on July 14th, 2009 by jonr

jonr originally posted this on Jon Rose's Blog.

Today, we (Gorilla Logic) announced the first production release of FlexMonkey, our open source Flex and AIR testing tool. We started building the tool last year because we were having a hard time finding anything that really allowed for testing Flex applications in a meaningful way. We soon found we were not the only ones, as early open source versions were met with positive feedback from the Flex community. Since that time, Gorilla has made a major investment in improving the tool and getting it ready for this release. It’s now an AIR application that greatly simplifies getting up and running with a wide range of Flex and AIR applications.

FlexMonkey Resources:

For more information on Gorilla Logic’s Flex services check out: http://www.gorillalogic.com/what.development.services.flex.html

Episode 14: FlexMonkey Fiesta at Casa Bonita

Posted in Drunk On Software, FlexMonkey on July 14th, 2009 by admin

admin originally posted this on Drunk on Software.

In another exciting installment of Drunk On Software, we chat with Gorilla Logic’s Stu Stern in celebration of the first production release of FlexMonkey. Our conversation may lack a bit of focus, but does have some good info if you stick with us. We hope you enjoy watching as much as we enjoyed filming it.

FlexMonkey Resources: