Skip to content

xli/get_funfx_start

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a simple project to get Cucumber & FunFX as acceptance test start. I spent 8 hours to make it work. Put it here, so that someone doesn’t need to go through all tricky part I’ve got.

The ‘libs/funfx-0.2.2.swc’ is compiled from FunFX source with Flex Builder SDKS 3.2 on Mac 10.5.6, you may need to recompile it with your Flex Builder SDKS, or just download it from FunFX rubyforge project download file list.

Try out steps:

1. It is tested with Flex Builder SDKS 3.2 on Mac currently, for other SDKS version / OS, you should set FB_SDK_PATH env variable to point to Flex SDK path (e.g.: FB_SDK_PATH=PATH_TO_AIR_SDK/sdks/3.2.0). See FBSdks class in the Rakefile
2. install cucumber & funfx gems
3. install safariwatir gem. It works with FireWatir too, you need change some code in 'features/support/env.rb', using safariwatir is because I can't find out simple solution for FireWatir to solve Firefox one profile per instance problem on CI build.
4. Run 'rake' should get application compiled and run features
5. You may get errors at first time running the features, fix it by adding the 'dist/todolist.swf' need be added into trust file list. see 'Problems to fix' below.

Problems to fix (Is there anyone could help out?):

1. After compiled application, the 'dist/todolist.swf' need be added into trust file list (http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html#117502).

About

A simple demo project with Cucumber & FunFX as acceptance test

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages