如何在 Linux 上从命令行运行 Flex 单元测试?
问题描述:
我正在 Linux 系统上的 Hudson/Jenkins 下设置 FlexBuilder 构建.我想执行我们的单元测试,但不使用基于 GUI 的标准测试运行器.
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.
我有哪些选择?
答
人们似乎在使用一种叫做 xvfb 的东西.我自己还没有尝试过这个解决方案,所以我只会给你我知道的相关文章的链接:
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/2010/01/19/flexunit-and-continuous-integration-updates/