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

This widget could not be displayed.

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
Community showcase
Posted yesterday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

51 views 0 1
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you