| Recipe 35 | Drive a Flash App Using Cuke4AS3 |
Problem
You’re writing a Flash or Adobe Air application using ActionScript, and you want to describe and then drive out its behavior using Cucumber.
Ingredients
-
Cucumber installed in your system Ruby (i.e., not using RVM)
-
Adobe Flex SDK
-
Adobe Air runtime
-
Cuke4AS3[227]
-
Your text editor or IDE of choice. We’ve tried to keep this recipe simple enough that you should be able to follow along using a simple text editor. Obviously, if you’re happier with an IDE, feel free to use that.
-
A nice cup of tea
Solution
Getting Cuke4AS3 running is fairly involved, so we’re going to assume you have a reasonable level of experience with ActionScript programming and concentrate on explaining how to automate ...