[flexcoders] Re: FlexUnit

2010-06-17 Thread malabriola
Hi: To use the UIListener you need 1 more Library, called the UIListener. You can get this from the downloads page at FlexUnit.org (it comes with all of the other FlexUnit downloads) If you are using FlashBuilder 4, you don't need this UIListener as they create their own when you indicate

[flexcoders] Re: FlexUnit or fluint ?? which the best ???

2010-03-10 Thread gareth_arch
They've actually combined FlexUnit and FluInt to one project now in FlexUnit4 http://docs.flexunit.org/index.php?title=Main_Page --- In flexcoders@yahoogroups.com, Nini7016 Nini7016 nahloulaha...@... wrote: Hello :) I 'm currently doing units test for my application developped on Flex.

[flexcoders] Re: FlexUnit or fluint ?? which the best ???

2010-03-10 Thread jer_ela
The flexUnit and fluint projects have merged into FlexUnit4, so which was better no longer matters. You can get FlexUnit4 at flexunit.org. --- In flexcoders@yahoogroups.com, Nini7016 Nini7016 nahloulaha...@... wrote: Hello :) I 'm currently doing units test for my application

RE: [flexcoders] Re: FlexUnit or fluint ?? which the best ???

2010-03-10 Thread Nini7016 Nini7016
Thank you very much to your informationit's very helpful To: flexcoders@yahoogroups.com From: g...@nycap.rr.com Date: Wed, 10 Mar 2010 17:05:11 + Subject: [flexcoders] Re: FlexUnit or fluint ?? which the best ??? The flexUnit

Re: [flexcoders] Re: FlexUnit + Ant + Continuos Integration

2010-03-09 Thread M. Fernanda Gioiosa
2010 18:19:25 + 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 flexcoders

RE: [flexcoders] Re: FlexUnit + Ant + Continuos Integration

2010-03-08 Thread Nahla Laribi
Hello :) Did you find good site which explains step by step how to use Flex Unit please ?? Thanks To: flexcoders@yahoogroups.com From: mportu...@yahoo.com Date: Sun, 7 Mar 2010 19:44:12 + Subject: [flexcoders] Re: FlexUnit + Ant + Continuos Integration

[flexcoders] Re: FlexUnit + Ant + Continuos Integration

2010-03-08 Thread Michael
explains step by step how to use Flex Unit please ?? Thanks To: flexcoders@yahoogroups.com From: mportu...@... Date: Sun, 7 Mar 2010 19:44:12 + Subject: [flexcoders] Re: FlexUnit + Ant + Continuos Integration

RE: [flexcoders] Re: FlexUnit + Ant + Continuos Integration

2010-03-08 Thread Nini7016 Nini7016
Thank you very much :) :) :) regards, To: flexcoders@yahoogroups.com From: mportu...@yahoo.com Date: Mon, 8 Mar 2010 18:19:25 + Subject: [flexcoders] Re: FlexUnit + Ant + Continuos Integration You might try looking at: http

[flexcoders] Re: FlexUnit + Ant + Continuos Integration

2010-03-07 Thread Michael
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.

Re: [flexcoders] Re: Flexunit and asynchronous calls

2008-08-22 Thread Johannes Nel
you can compose event dispatcher onto anything. On Fri, Aug 22, 2008 at 6:08 AM, dbronk [EMAIL PROTECTED] wrote: I've done this: var myResponder : IResponder = new Responder(addAsync(handleSuccess, 1000 ), handleFault); I actually have my own responder that extends Responder so the above

[flexcoders] Re: Flexunit and asynchronous calls

2008-08-21 Thread Tim Hoff
Hi Richard, No, not using IResponder. But, you may be able to use the UM extensions for a callBack; instead of listening for an event. -TH --- In flexcoders@yahoogroups.com, Richard Rodseth [EMAIL PROTECTED] wrote: Does anyone have an example of using FlexUnit's addAsync() call with a

Re: [flexcoders] Re: Flexunit and asynchronous calls

2008-08-21 Thread Richard Rodseth
I did actually find some related blog entries, but they seemed to involve modifying FlexUnit sources. http://jharbs.com/blog/?p=96 Also, I'm not using Cairngorm, but my services (delegates in Cairngorm terminology, I guess) use IResponder-based signatures. - Richard On Thu, Aug 21, 2008 at

RE: [flexcoders] Re: Flexunit and asynchronous calls

2008-08-21 Thread Alex Harui
To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: Flexunit and asynchronous calls I did actually find some related blog entries, but they seemed to involve modifying FlexUnit sources. http://jharbs.com/blog/?p=96 http://jharbs.com/blog/?p=96 Also, I'm not using Cairngorm, but my services

Re: [flexcoders] Re: Flexunit and asynchronous calls

2008-08-21 Thread Richard Rodseth
new one I heard about is dpuint/fluint -- *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Richard Rodseth *Sent:* Thursday, August 21, 2008 11:41 AM *To:* flexcoders@yahoogroups.com *Subject:* Re: [flexcoders] Re: Flexunit

Re: [flexcoders] Re: Flexunit and asynchronous calls

2008-08-21 Thread Ralf Bokelberg
Say you are waiting for an object myDispatcher to dispatch an event myEvent. Then you call myDispatcher.addEventListener(myEvent, addAsync( handleSuccess, 1000 )); Inside handleSuccess you can assert as usually. If handleSuccess is not called within 1000 ms, the test fails. Cheers Ralf.

Re: [flexcoders] Re: Flexunit and asynchronous calls

2008-08-21 Thread Richard Rodseth
As I mentioned, the service (delegate) method I am calling has an IResponder callback - it doesn't dispatch events. On Thu, Aug 21, 2008 at 1:27 PM, Ralf Bokelberg [EMAIL PROTECTED]wrote: Say you are waiting for an object myDispatcher to dispatch an event myEvent. Then you call

Re: [flexcoders] Re: Flexunit and asynchronous calls

2008-08-21 Thread Johannes Nel
you can hack around it by pointing the the callback function to your unit test class and dispatching an event from there. On Thu, Aug 21, 2008 at 10:34 PM, Richard Rodseth [EMAIL PROTECTED]wrote: As I mentioned, the service (delegate) method I am calling has an IResponder callback - it

Re: [flexcoders] Re: Flexunit and asynchronous calls

2008-08-21 Thread Richard Rodseth
Good idea. Thanks. On Thu, Aug 21, 2008 at 1:38 PM, Johannes Nel [EMAIL PROTECTED]wrote: you can hack around it by pointing the the callback function to your unit test class and dispatching an event from there. On Thu, Aug 21, 2008 at 10:34 PM, Richard Rodseth [EMAIL PROTECTED]wrote: As

Re: [flexcoders] Re: Flexunit and asynchronous calls

2008-08-21 Thread Johannes Nel
i do think you should wrap your responder in another object, the advantage of this is that you can place your fault handler and data handler in the same place, but it does depend on your architecture. On Thu, Aug 21, 2008 at 10:40 PM, Richard Rodseth [EMAIL PROTECTED]wrote: Good idea. Thanks.

Re: [flexcoders] Re: Flexunit and asynchronous calls

2008-08-21 Thread Richard Rodseth
I guess I need a little more info, since TestCase is not an EventDispatcher. Could you elaborate a little, please? On Thu, Aug 21, 2008 at 1:40 PM, Richard Rodseth [EMAIL PROTECTED] wrote: Good idea. Thanks. On Thu, Aug 21, 2008 at 1:38 PM, Johannes Nel [EMAIL PROTECTED]wrote: you can

[flexcoders] Re: Flexunit and asynchronous calls

2008-08-21 Thread dbronk
I've done this: var myResponder : IResponder = new Responder(addAsync(handleSuccess, 1000 ), handleFault); I actually have my own responder that extends Responder so the above I new MyResponder, but it works great for me. I then just pass in the newly created responder. Dale --- In

[flexcoders] Re: FlexUnit Cairngorm

2007-10-04 Thread kaleb_pederson
--- In flexcoders@yahoogroups.com, Kevin [EMAIL PROTECTED] wrote: Is anyone currently using FlexUnit to test a Cairngorm app? I have some questions about how best to set this up. Thanks, Kevin Yes, people are using FlexUnit to test Cairngorm apps. There are at least two different

[flexcoders] Re: [Flexunit] - How to test throwing errors?

2007-01-17 Thread herrodius
Hi Olivier, that should indeed be the behavior, but the test also passes if I remove the throw Error() line in my Account constructor. This is probably because the fail() in the testcase is directly caught by the catch block underneath. I used to do it this way in AS2, but it seems like the

[flexcoders] Re: FlexUnit usage examples

2006-09-28 Thread ben.clinkinbeard
I've never used FlexUnit but Paul has done extensive testing and writing about this subject: http://www.eyefodder.com/blog/2006/07/flexunit_asunit_deathmatch_res.shtml HTH, Ben --- In flexcoders@yahoogroups.com, Dima Ulich [EMAIL PROTECTED] wrote: Hi everybody, Does anyone have an example

Re: [flexcoders] Re: FlexUnit usage examples

2006-09-28 Thread Ali Mills
I've never used FlexUnit but Paul has done extensive testing and writing about this subject: http://www.eyefodder.com/blog/2006/07/flexunit_asunit_deathmatch_res.shtml HTH, Ben Luke (http://www.lukebayes.com) just finished addressing Paul's issues with AsUnit, and should be blogging about

[flexcoders] Re: FlexUnit question

2006-06-13 Thread maxym.hryniv
Hi, Andriy. You didn't understood my question. I'm asking is such stupid code like ts.addTest( new TemperatureConverterTest( testToFarenheight ) ); ts.addTest( new TemperatureConverterTest( testToCelsius ) ) necessairy Have I to add such code for every my test method? --- In

RE: [flexcoders] Re: FlexUnit question

2006-06-13 Thread Steven Webster
Maxim, The flexunit project that was created by iteration::two (formerly at http://www.iterationtwo.com/open_source_flexunit.html) can now be found on Adobe Labs at http://labs.adobe.com/wiki/index.php/ActionScript_3:resources:apis:libraries#FlexUnit. Our implementation of FlexUnit

Re: [flexcoders] Re: FlexUnit question

2006-06-13 Thread Michael Schmalle
Steven, Is there any 'planned' tutorial like projects in the future that really help those that semi-understand unit testing but are having a hard time creating tests for components? IE UI components. I have read in the book 'Refactoring' about these tests but, swinging from an application

RE: [flexcoders] Re: FlexUnit question

2006-06-13 Thread Steven Webster
947[EMAIL PROTECTED] From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Michael SchmalleSent: 13 June 2006 13:01To: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Re: FlexUnit question Steven,Is there any 'planned' tutorial like pr

Re: [flexcoders] Re: Flexunit for Flex 2

2006-02-21 Thread Niklas Richardson
6108m: +44 (0) 7917 428 947[EMAIL PROTECTED] -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Chris Velevitch Sent: 07 February 2006 05:23 To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: Flexunit for Flex 2 On 2/8/06, Clint

Re: [flexcoders] Re: Flexunit for Flex 2

2006-02-21 Thread Johannes Nel
To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: Flexunit for Flex 2 On 2/8/06, Clint Modien [EMAIL PROTECTED] wrote: Here is a response from macromedia last august about unit testing... From: Todd Rein @ macromedia.com Mailed-By: returns.groups.yahoo.com We can't announce any details

[flexcoders] Re: Flexunit for Flex 2

2006-02-07 Thread Chris Velevitch
Isn't anyone doing unit testing in Flex 2? On 2/6/06, Chris Velevitch [EMAIL PROTECTED] wrote: Is there a version of Flexunit for Flex 2 or will Flexunit 0.9 work with Flex 2? Chris -- Chris Velevitch Manager - Sydney Flash Platform Developers Group www.flashdev.org.au -- Chris

Re: [flexcoders] Re: Flexunit for Flex 2

2006-02-07 Thread Clint Modien
Here is a response from macromedia last august about unit testing... Todd Rein@macromedia.com to flexcodersHide options 8/16/05 From: Todd Rein @macromedia.com Mailed-By: returns.groups.yahoo.com Reply-To: flexcoders@yahoogroups.comTo:

Re: [flexcoders] Re: Flexunit for Flex 2

2006-02-07 Thread Chris Velevitch
On 2/8/06, Clint Modien [EMAIL PROTECTED] wrote: Here is a response from macromedia last august about unit testing... From: Todd Rein @macromedia.com Mailed-By: returns.groups.yahoo.com We can't announce any details yet, but I can let you know that we are working on functional UI testing

RE: [flexcoders] Re: Flexunit for Flex 2

2006-02-07 Thread Matt Chotin
- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Chris Velevitch Sent: Tuesday, February 07, 2006 5:23 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: Flexunit for Flex 2 On 2/8/06, Clint Modien [EMAIL PROTECTED] wrote: Here is a response from macromedia

RE: [flexcoders] Re: Flexunit for Flex 2

2006-02-07 Thread Steven Webster
:[EMAIL PROTECTED] On Behalf Of Chris Velevitch Sent: 07 February 2006 05:23 To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: Flexunit for Flex 2 On 2/8/06, Clint Modien [EMAIL PROTECTED] wrote: Here is a response from macromedia last august about unit testing... From: Todd