Thank you very much :) :) :)
regards,
To: [email protected]
From: [email protected]
Date: Mon, 8 Mar 2010 18:19:25 +0000
Subject: [flexcoders] Re: FlexUnit + Ant + Continuos Integration
You might try looking at:
http://www.insideria.com/2008/04/unit-testing-with-flexunit-1.html
for a good "getting started" article with FlexUnit.
Regards,
Michael Portuesi
--- In [email protected], Nahla Laribi <nahloulaha...@...> wrote:
>
>
> Hello :)
>
> Did you find good site which explains step by step how to use Flex Unit
> please ??
>
> Thanks
>
> To: [email protected]
> From: mportu...@...
> Date: Sun, 7 Mar 2010 19:44:12 +0000
> Subject: [flexcoders] Re: FlexUnit + Ant + Continuos Integration
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> Hey there,
>
>
>
> I've successfully integrated FlexUnit tests into my continuous integration
> environment (in my case, CruiseControl.rb).
>
>
>
> I did things a little differently than most people:
>
>
>
> 1) I don't use Ant to drive the tests. We have our own build scripts in
> Ruby, and don't make much use of Ant.
>
>
>
> 2) The test runner in my case is an AIR application. This sidesteps several
> problems inherent with FlexUnit, one of them (as you noted) the need to open
> a web browser.
>
>
>
> I wrote this all up on my blog:
>
>
>
> http://digitaldumptruck.jotabout.com/?p=26
>
>
>
> Hope you find some of this useful.
>
>
>
> Regards,
>
> Michael Portuesi
>
>
>
> --- In [email protected], "M. Fernanda Gioiosa" <fgioiosa@> wrote:
>
> >
>
> > Hello,
>
> > I'm working in a project with FlexUnit, Ant and Bamboo as continuos
>
> > integration tool, have you ever try to do this? How is the ant tasks that
>
> > you need to Run? How the FlexUnitTestRunner works in the servers (because
>
> > always open the browser for running the tests)? Do you have any example of
>
> > this working?
>
> > I would appreciate any information about this, there isn't much information
>
> > about this in the websites!
>
> >
>
> > Thanks a lot,
>
> > Fer
>
> >
>
> > this is the part that runs the test in the ant file.
>
> >
>
> > <!-- Run unit test -->
>
> > <target name="unit-tests" depends="init" description="Compiles and runs
>
> > the tests">
>
> > <mxmlc file="${flex.unit.runner}"
>
> > output="${flex.unit.swf}"
>
> > actionscript-file-encoding="${ENCODING}"
>
> > keep-generated-actionscript="false"
>
> > incremental="false">
>
> > <load-config filename="${FLEX_HOME}/frameworks/flex-config.xml"
>
> > />
>
> > <source-path path-element="${FLEX_HOME}/frameworks" />
>
> > <compiler.source-path path-element="${src.dir}" />
>
> > <compiler.include-libraries dir="${lib.dir}"
>
> > append="true">
>
> > <include name="**/*.swc" />
>
> > </compiler.include-libraries>
>
> > </mxmlc>
>
> > <echo>Running Test Runner SWF</echo>
>
> > <flexunit swf="${flex.unit.swf}"
>
> > toDir="${report.dir}"
>
> > haltonfailure="false"
>
> > verbose="true"
>
> > localTrusted="true"
>
> > timeout="90000"/>
>
> > <echo>Ran Test Runner SWF</echo>
>
> >
>
> > <echo>Generate Readable Tests</echo>
>
> > <junitreport todir="${report.dir}">
>
> > <fileset dir="${report.dir}">
>
> > <include name="Test-*.xml"/>
>
> > </fileset>
>
> > <report format="frames" todir="${report.dir}/html"/>
>
> > </junitreport>
>
> > <echo>Generated Readable Tests</echo>
>
> > </target>
>
> >
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> __________________________________________________________
> Hotmail arrive sur votre téléphone ! Compatible Iphone, Windows Phone,
> Blackberry, …
> http://www.messengersurvotremobile.com/?d=Hotmail
>
_________________________________________________________________
Hotmail arrive sur votre téléphone ! Compatible Iphone, Windows Phone,
Blackberry, …
http://www.messengersurvotremobile.com/?d=Hotmail