As a follow-up to my post about using the FlexUnit results produced by the flex-mojos Maven plugin to produce a unit test report, I wanted to point out that this same technique can be used within the Hudson continuous integration server.
Here’s what the config looks like:
(Note that we’re also using Hudson’s JavaDoc support to publish the produced ASDoc).
This gives you all the nice Hudson unit testing support like graphs of tests per build:
UPDATE – With the Flex Mojos 1.0 release, the output directory for FlexUnit tests has changed. It’s now surefire-reports, so the Test report XMLs value should be **/target/surefire-reports/*.xml.