It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

integrating automated testing into a continuous integration build, for a Flex/AIR application, is the need to execute the Flash Player or AIR environment to produce test results

One of the challenges of integrating automated testing into a continuous integration build, for a Flex/AIR application, is the need to execute the Flash Player or AIR environment to produce test results. Both the Flash Player and AIR environment currently require windowing environments to execute Flex/AIR applications correctly; which might not be installed on the CI server. Most installations of CI solutions are made on Linux machines not running a windowing environment, such as X-Windows. Because of the requirement to execute the Flash Player and AIR in a windowed environment, it is not possible to execute a CI build on these types of installations unless the dependencies for a windowing environment have been installed. In addition to this dependency, an intermediate process is required to redirect windowing output to an emulated display. I am pretty sure I am running into the problem described above, I am able to build the application from my Desktop, However I am getting the following error when the test target is executed in my Bamboo server. Do you have any suggestion about how to setup bamboo+flexunit in my CI Server to properly run unit test? I know there are some workarounds to setup flexunit in jenkins, which involve installing a XVNC plugin.

1 answer

1 accepted

0 votes
Answer accepted

When we run integration tests for Bamboo we face very similar problem.

Our WebDriver tests are running in a real web browser that is crawling Bamboo UI. This is of course run on a headless machine.

In order to make this work we use xvfb tool which basically creates virtual display available for use for all X-Windows applications starting from simple ones as xterm ending on chrome or firefox. Xvfb is available as a package for all existing Linux distros, so there should no be problem with availability of this tool for your installation.

Cheers

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Next-gen

Keyboard shortcuts have arrived for next-gen projects!

...ollected feedback from users around the lack of shortcuts, and we’re here to address that: In next-gen projects, I miss the keyboard shortcuts badly. This is particularly true on the Board, but also i...

279 views 2 5
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you