Flex Developer Tools – Testing, Mocking and Code Coverage
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/
Dusty Jewett
15 Jan 09 at 5:41 pm
[...] rodzaju “must have”. Oczywiście zapraszam do dyskusji, waszych opinii i doświadczeń: http://www.riaspace.net/2009/01/flex-developer-tools-testing-mocking-and-code-coverage/ Brak komentarzy, [...]
Narzędzia Flex programisty - Testowanie, Mocki i Pokrycie Kodu - Flextech - let’s Flex - Adobe Flex / AIR / LiveCycle Development Blog
16 Jan 09 at 11:02 am
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!
Janek
16 Jan 09 at 11:25 am
FunFX – open source automated functional testing with Ruby
IBM Rational Functional Tester – commercial
bartek
16 Jan 09 at 3:16 pm
Thank you Bartek, updated my listing…
Piotr
16 Jan 09 at 3:22 pm
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
anatinae
19 Jan 09 at 3:28 am
Good point about open source with IDE, I will research that and try to do a separate post about that…
Piotr
19 Jan 09 at 2:09 pm
[...] missing things. As you can see we have 100% Open Source products here. I guess this is similar to testing, mocking and code coverage [...]
Flex Developer Tools - MVC & DI Frameworks at Space of Flex/AIR technologies
29 Jan 09 at 5:28 pm
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 .
Vkanwal
7 Apr 09 at 9:46 am
A fresh look at mocking in flex: http://bitbucket.org/loomis/mockito-flex
Kris
28 Jun 09 at 9:06 pm
[...] The first production release of FlexMonkey is available now on Gorilla Logic website. FlexMonkey is an AIR application used to do automate testing for Air applications. Also it’s free and opensource. Related to that, one of my colleagues compiled a list of tools used for testing Flex applications – the list is located here. [...]
Cornel Creanga » Blog Archive » FlexMonkey 1.0
15 Jul 09 at 10:59 am
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
Tester
12 Aug 09 at 9:18 pm
[...] focused on testing, mocking, and code coverage solutions for Flex. It is still available here: http://www.riaspace.net/2009/01/flex-developer-tools-testing-mocking-and-code-coverage/. I believe QA and testing are becoming hotter topics as developers build more production [...]
RIA Evangelist – Piotr Walczyszyn Interview | Test And Try
8 Feb 10 at 9:08 am
They this is a great idea suggested by the owner of this blog..
Hats off for him…..
Rohit
3 May 10 at 10:09 am
Appreciating the time and effort you put into your weblog and in depth information you offer! I will bookmark your weblog and have my kids check up right here frequently. Thumbs up!
advice for all
19 Sep 10 at 3:16 pm
Good write-up. I am a regular visitor of your blog and appreciate you taking the time to maintain the nice site. I’ll be a frequent visitor for a long time.
limestone austin
3 May 11 at 12:10 am