blog

Tag Archive for haltonfailure at Jozef Chúťka's blog

April 26, 2012

No comments

FlexUnit haltonfailure JUnitReport unit tests

Quick Tip: FlexUnit & JUnitReport & haltonfailure

A screenshot of the FlexUnit test runner's status panel.

In case you are using flexunit ant task with your flex builds and you are used to failed builds with haltonfailure=”true”, you may notice that junitreport task is not executed when unit tests fails. Without having test reports, it does not give you much info about what went wrong. Fortunately, there is a solution using attribute failureproperty and fail ant task. Here is a quick ant build config to generate junitreport report for failed unit tests followed by build fail.

Read the rest of this entry »