Flex Developer Tools – Testing, Mocking and Code Coverage
2009 January 15
This is next post of the “Flex Developer Tools” series, this time I’m covering Testing, Mocking and Code Coverage. In this category the winner is Open Source
as opposed to IDE category where we have more commercial tools. Again I would like to hear what are your thoughts and experience with these tools, frameworks and libraries.
- FlexUnit (Adobe Open Source) – conceptually based on famous JUnit
- Funit (Open Source) – Metadata Driven Unit Testing for Flex
- asUnit (Open Source) – Unit Testing Framework
- fluint (Open Source) – I never had a chance to use this one but it seems to be very impressing and I’m looking forward to give it a try in my next project. “It provides full support for unit testing in the tradition of FlexUnit, but goes further with richer asynchronous support and support for integration-level testing.”
- FunFX (Open Source) – Cool: “A Ruby tool for functional testing of Adobe Flex applications“
- FlexMonkey (Open Source) – UI testing, capture replay
- Selenium (Open Source) – API for Selenium
- FlashSelenium (Open Source) – Selenium RC Client driver extension
- HP QuickTest Professional (Commercial License) - According to Wikipedia: ” is an automated functional Graphical User Interface (GUI) testing tool created by the HP“. You can also find useful information how to test Flex apps with QTP in Adobe LiveDocs: http://livedocs.adobe.com/flex/3/testing_with_QTP_flex3.pdf
- mock-as3 (Open Source) – mock object library
- FlexCover (Open Source) – code coverage





Don’t forget Fluint!
Awesome Unit Testing library by the guys @ Digital Primates…
http://code.google.com/p/fluint/
I’m using fluint as well. Got round to play with it when I wanted to set up a CI environment for Flex. Fluint not only gives you tools to test UI and async methods, it also provides good CI integration mechanism. Check it out, it’s worth it!
FunFX – open source automated functional testing with Ruby
IBM Rational Functional Tester – commercial
Thank you Bartek, updated my listing…
what about opensource with IDE ?
I mean Flexspy and clones modified with some extra functionality on blogs all based on FlashAPI.
and some like flexspy Kap Lab tools PureMVC, Cairngorm Console and Kap Inspect
Good point about open source with IDE, I will research that and try to do a separate post about that…
what about code coverage ??
I have just sarted using fluint and was earlier using flex unit .
With flex unit i was using coveage viewer which takes .cvm file as as input and shows coverage .
–> can any one suggest what shall i use for coveage in fluint so that it can be exported to some xml file .
A fresh look at mocking in flex: http://bitbucket.org/loomis/mockito-flex
Hi,
I have found 2 tools for flex testing. have a look on the following links.
http://www.rsdhariwal.com/2009/07/29/testing-tool-for-flex-application/
http://www.rsdhariwal.com/2009/07/30/flex-ui-selenium-for-flex-application-testing/
give me your response