apache-flexcontinuous-integrationhudsonflexbuilderflexunit

How to run Flex unit tests from the command line on Linux?


I am setting up a FlexBuilder build under Hudson/Jenkins on a Linux system. I want to execute our unit tests, but do it without using the standard GUI-based test runner.

What are my options?


Solution

  • Folks seem to use something called xvfb. I haven't tried this solution myself so I'll just give you the links to the revelant articles I know :

    http://www.benlondon.co.uk/2010/02/running-flexunit-09-tests-on-headless.html

    http://life.neophi.com/danielr/2007/12/headless_linux_automated_flexu.html

    http://www.brianlegros.com/blog/2009/12/20/using-xvnc-to-create-headless-ci-builds-for-flex-and-air-applications/

    http://www.brianlegros.com/blog/2010/01/19/flexunit-and-continuous-integration-updates/