This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Flex 4 in Action and Testing

 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does Flex 4 In Action cover much about testing applications written in Flex? And if it doesn't do the authors have any suggestions how best to procede? We have quite a rich library of Selenium tests for our various traditional web applications, but have been struggling to create something simmilar for our Flex applications. Any suggestions from you (or any others out there with anything to offer!) would be appreciated.
 
Dan Orlando
author
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Actually Paul, Joel is quite the expert on FlexUnit 4, and wrote a considerable amount of content on the subject of TDD (Test-driven Development) for Flex 4 in Action (chapter 24 I think), and while unit testing was a little weak in previous versions of FlexUnit, it has matured substantially. Version 4 is based on the functionality of JUnit 4.5 and fully supports Hamcrest. Check it out: http://docs.flexunit.org/index.php?title=Main_Page
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Dan. We have just started to look at FlexUnit 4, after slogging away with limited success with the previous versions. It does look like an improvement - we are very familiar with JUnit 4, which we use to test all the Java parts of our applications. One thing we are keen to get is a way of testers being able to write automated tests (as they can with a tool like Selenium). Do you know of anything out there that would let us do this for Flex? We've had a brief look at Flex Selenium, which uses ExternalInterface to hook Selenese in to the Flex application but there seems to be a few too many hooks (i.e. a bit brittle) for our liking.
 
Dan Orlando
author
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Paul Sturrock wrote:Thanks Dan. We have just started to look at FlexUnit 4, after slogging away with limited success with the previous versions. It does look like an improvement - we are very familiar with JUnit 4, which we use to test all the Java parts of our applications. One thing we are keen to get is a way of testers being able to write automated tests (as they can with a tool like Selenium). Do you know of anything out there that would let us do this for Flex? We've had a brief look at Flex Selenium, which uses ExternalInterface to hook Selenese in to the Flex application but there seems to be a few too many hooks (i.e. a bit brittle) for our liking.


This should solve your problem: http://www.riatest.com/

Works beautifully.

Cheers!

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic