You can subscribe to this list here.
| 2004 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
(58) |
Dec
(4) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2005 |
Jan
(23) |
Feb
(3) |
Mar
(6) |
Apr
(4) |
May
(15) |
Jun
(22) |
Jul
(18) |
Aug
(3) |
Sep
(25) |
Oct
(7) |
Nov
(86) |
Dec
(9) |
| 2006 |
Jan
(20) |
Feb
(44) |
Mar
(59) |
Apr
(23) |
May
(37) |
Jun
(35) |
Jul
|
Aug
(2) |
Sep
(3) |
Oct
(21) |
Nov
(17) |
Dec
(22) |
| 2007 |
Jan
(13) |
Feb
(7) |
Mar
(1) |
Apr
(13) |
May
(4) |
Jun
(2) |
Jul
(5) |
Aug
(8) |
Sep
(13) |
Oct
(22) |
Nov
(3) |
Dec
|
| 2008 |
Jan
(2) |
Feb
(3) |
Mar
(1) |
Apr
(3) |
May
|
Jun
(2) |
Jul
(34) |
Aug
(10) |
Sep
(5) |
Oct
(6) |
Nov
(8) |
Dec
|
| 2009 |
Jan
(1) |
Feb
(10) |
Mar
(4) |
Apr
(12) |
May
(10) |
Jun
(27) |
Jul
|
Aug
(1) |
Sep
(3) |
Oct
|
Nov
(6) |
Dec
(1) |
| 2010 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
(2) |
Oct
|
Nov
|
Dec
|
| 2011 |
Jan
|
Feb
|
Mar
(5) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2017 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Ian T. <Ia...@mo...> - 2008-09-01 13:02:35
|
Glad you found it helpful. Good luck with the testing! ________________________________ From: asu...@li... [mailto:asu...@li...] On Behalf Of mudit tuli Sent: 01 September 2008 13:50 To: Mailing List for the users of AsUnit Subject: Re: [Asunit-users] UnitTest a command in JumpShip framework ? Ian, thanks for this wonderful and helpful description, now I am enjoying writing the unit tests for my application. On Tue, Aug 26, 2008 at 2:54 PM, Ian Tyrrell <Ia...@mo...> wrote: Testing a command should be fine, but you should be mindful of its dependencies. Typically your command classes will invoke methods on other instances and you will want to assert that these methods have been called. If your command has dependencies on concrete classes, you will need to be able to access the instances of these classes within your fixture (test method). Remember that you only want to be testing the behavior of your class under test (i.e. your command class), not its dependencies (these should have their own unit tests). If the dependencies are 3rd party (or core) classes, you probably should be confident of their behavior. You either expect them 'just to work' OR they already have their own unit tests. Sometimes it's hard to assert the state of a dependency - this might be a sign of potential issues with your design. First step might be to refactor to interfaces or abstract classes. Alternatively you could just subclass your concrete class. If this all sounds too abstract, send me a copy of the class you want to test and I can give you an example (if you're worried about the sensitivity of the code, send it off list). Thanks, Ian ________________________________ From: asu...@li... [mailto:asu...@li...] On Behalf Of mudit tuli Sent: 25 August 2008 10:17 To: asu...@li... Subject: [Asunit-users] UnitTest a command in JumpShip framework ? Following from earlier comments by Ian Tyrrell -- >It's important to understand that ASUnit is a unit testing framework, >not an integration testing framework. > > It is designed to help verify behavior of a single unit of functionality > in your application, typically at single class/method level. > > It's not really appropriate if you want to test the end-to-end > functionality of your application. > >If you want to verify that when a user clicks a button a request is made >to the server, this would be an integration test. So, I am now focusing to unit-test individual components. I am using Jumpship framework : 1. The framework follows the Command Pattern 2. A controller function is called on command completion. Is it possible to unit-test a Command, or do I need to break down further? ------------------------------------------------------------------------ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Asunit-users mailing list Asu...@li... https://lists.sourceforge.net/lists/listinfo/asunit-users |
|
From: mudit t. <mud...@gm...> - 2008-09-01 12:50:07
|
Ian, thanks for this wonderful and helpful description, now I am enjoying writing the unit tests for my application. On Tue, Aug 26, 2008 at 2:54 PM, Ian Tyrrell <Ia...@mo...> wrote: > Testing a command should be fine, but you should be mindful of its > dependencies. > > > > Typically your command classes will invoke methods on other instances and > you will want to assert that these methods have been called. > > > > If your command has dependencies on concrete classes, you will need to be > able to access the instances of these classes within your fixture (test > method). > > > > Remember that you only want to be testing the behavior of your class under > test (i.e. your command class), not its dependencies (these should have > their own unit tests). > > > > If the dependencies are 3rd party (or core) classes, you probably should > be confident of their behavior. You either expect them 'just to work' OR > they already have their own unit tests. > > > > Sometimes it's hard to assert the state of a dependency – this might be a > sign of potential issues with your design. First step might be to refactor > to interfaces or abstract classes. Alternatively you could just subclass > your concrete class. > > > > If this all sounds too abstract, send me a copy of the class you want to > test and I can give you an example (if you're worried about the sensitivity > of the code, send it off list). > > > > Thanks, > > > > Ian > > > ------------------------------ > > *From:* asu...@li... [mailto: > asu...@li...] *On Behalf Of *mudit tuli > *Sent:* 25 August 2008 10:17 > *To:* asu...@li... > *Subject:* [Asunit-users] UnitTest a command in JumpShip framework ? > > > > Following from earlier comments by Ian Tyrrell -- > > >It's important to understand that ASUnit is a unit testing framework, > >not an integration testing framework. > > > > It is designed to help verify behavior of a single unit of functionality > > in your application, typically at single class/method level. > > > > It's not really appropriate if you want to test the end-to-end > > functionality of your application. > > > >If you want to verify that when a user clicks a button a request is made > >to the server, this would be an integration test. > > So, I am now focusing to unit-test individual components. > I am using Jumpship framework : > 1. The framework follows the Command Pattern > 2. A controller function is called on command completion. > > Is it possible to unit-test a Command, or do I need to break down further? > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Asunit-users mailing list > Asu...@li... > https://lists.sourceforge.net/lists/listinfo/asunit-users > > |
|
From: Ian T. <Ia...@mo...> - 2008-08-26 09:24:19
|
Testing a command should be fine, but you should be mindful of its dependencies. Typically your command classes will invoke methods on other instances and you will want to assert that these methods have been called. If your command has dependencies on concrete classes, you will need to be able to access the instances of these classes within your fixture (test method). Remember that you only want to be testing the behavior of your class under test (i.e. your command class), not its dependencies (these should have their own unit tests). If the dependencies are 3rd party (or core) classes, you probably should be confident of their behavior. You either expect them 'just to work' OR they already have their own unit tests. Sometimes it's hard to assert the state of a dependency - this might be a sign of potential issues with your design. First step might be to refactor to interfaces or abstract classes. Alternatively you could just subclass your concrete class. If this all sounds too abstract, send me a copy of the class you want to test and I can give you an example (if you're worried about the sensitivity of the code, send it off list). Thanks, Ian ________________________________ From: asu...@li... [mailto:asu...@li...] On Behalf Of mudit tuli Sent: 25 August 2008 10:17 To: asu...@li... Subject: [Asunit-users] UnitTest a command in JumpShip framework ? Following from earlier comments by Ian Tyrrell -- >It's important to understand that ASUnit is a unit testing framework, >not an integration testing framework. > > It is designed to help verify behavior of a single unit of functionality > in your application, typically at single class/method level. > > It's not really appropriate if you want to test the end-to-end > functionality of your application. > >If you want to verify that when a user clicks a button a request is made >to the server, this would be an integration test. So, I am now focusing to unit-test individual components. I am using Jumpship framework : 1. The framework follows the Command Pattern 2. A controller function is called on command completion. Is it possible to unit-test a Command, or do I need to break down further? |
|
From: Tony v. T. <tvo...@gm...> - 2008-08-25 16:36:13
|
Hello Luke, Please confirm my earlier email got to you at lukebayes.com. I couldn't tell from the patternpark.com email address response if the other address worked as patternpark rejected my mail to you. Thanks! Looking forward, Tony Tony von Thelen OnCall Learning Systems |
|
From: mudit t. <mud...@gm...> - 2008-08-25 09:17:01
|
Following from earlier comments by Ian Tyrrell -- >It's important to understand that ASUnit is a unit testing framework, >not an integration testing framework. > > It is designed to help verify behavior of a single unit of functionality > in your application, typically at single class/method level. > > It's not really appropriate if you want to test the end-to-end > functionality of your application. > >If you want to verify that when a user clicks a button a request is made >to the server, this would be an integration test. So, I am now focusing to unit-test individual components. I am using Jumpship framework : 1. The framework follows the Command Pattern 2. A controller function is called on command completion. Is it possible to unit-test a Command, or do I need to break down further? |
|
From: Luke B. <lb...@pa...> - 2008-08-09 16:51:52
|
Thanks Trebor - > in my environment it is not in definition order. the execution order > is defined by the result of describeType(). maybe that varies in > different flex players. That makes sense, now I'm curious about how describeType orders their methods! > i think stabilizing the test order would be be aesthetically nice, but > clearly not so critical for me now. thanks. I agree that it would be ideal if it were at least predictable, if not controllable! If anyone has ideas about how to get to predictable, definitely let us know. Thanks, Luke |
|
From: Robert H. <tr...@tr...> - 2008-08-08 23:35:43
|
On Aug 8, 2008, at 3:17 PM, Luke Bayes wrote:
> I believe test methods are executed in the order that they're defined,
in my environment it is not in definition order. the execution order
is defined by the result of describeType(). maybe that varies in
different flex players.
> If order is important, you may have much bigger problems than it
> seems.
i see i am violating a major principle of unit testing. :)
i'm testing functionality of services on my server via asunit tests on
the client. my individual tests look something like:
test 1: connect and create service
test 2: test service action 1
test 3: test service action 2
etc.
the actions are state-full and order dependent.
i take it you would recommend my tests look something like:
test 1: connect and create service
test 2: connect and create service
test service action 1
test 3: connect and create service
test service action 1
test service action 2
etc.
now that i see the way and the light, i'll fix my tests. :)
> Are you just concerned about the aesthetics, or is there a specific
> reason order is important to you?
i think stabilizing the test order would be be aesthetically nice, but
clearly not so critical for me now. thanks.
-trebor
|
|
From: Luke B. <lb...@pa...> - 2008-08-08 22:17:11
|
I believe test methods are executed in the order that they're defined, but that shouldn't matter at all. No test method should interact with any other. They should each be given a completely clean fixture / environment within which they execute their operations. If order is important, you may have much bigger problems than it seems. Are you just concerned about the aesthetics, or is there a specific reason order is important to you? Thanks, Luke |
|
From: Robert H. <tr...@tr...> - 2008-08-08 21:48:25
|
i'm using as3 (on os-x 10.5.4 with flex 3.0.0). i can't get my tests to execute in a well defined order. i've added a sort operation to the asunit code i use to force tests to execute in alphabetic order. the patch is appended to this message. i have a few questions: - is there a right and proper way to stipulate test order in asunit? - if not, is my solution a reasonable one? - if so, how would do i submit a patch to asunit? :) -trebor --- https://asunit.svn.sourceforge.net/svnroot/asunit/trunk/framework/as3/asunit/framework/TestCase.as --- Index: TestCase.as =================================================================== --- TestCase.as (revision 203) +++ TestCase.as (working copy) @@ -151,6 +151,9 @@ name = item.toString(); testMethods.push(name); } + // alpha sort the test methods by name to + // stabilize the test execution order + testMethods.sort(); } public function getTestMethods():Array { |
|
From: Johannes N. <joh...@gm...> - 2008-08-04 09:55:41
|
visual testing is a road you don't want to go down. I would recomend reading about the presentation model pattern as it gives a nice abstraction to test from our experience On Mon, Aug 4, 2008 at 11:53 AM, Ian Tyrrell <Ia...@mo...> wrote: > Are you wanting to test a custom visual component, or is it that your > class under test uses a visual component? > > If you give me a bit more context then I could probably put together an > example. > > > > It's important to understand that ASUnit is a unit testing framework, not > an integration testing framework. > > It is designed to help verify behavior of a single unit of functionality in > your application, typically at single class/method level. > > > > It's not really appropriate if you want to test the end-to-end > functionality of your application. > > > > If you want to verify that when a user clicks a button a request is made to > the server, this would be an integration test. > > > > You could however write several unit tests that cover the individual > components involved in the above scenario: > > · A test to verify that when a user clicks your button class a > click event is dispatched. > > · A test to verify that the consumer of your button event performs > a particular action (e.g. invoking a service). > > · A test to verify that a particular service call makes a request > with particular parameters. > > > > Testing visual components has it's own challenges as you are usually bound > to concrete dependencies (flash core classes, library assets), flash 8 made > it more feasible technically to verify visual states (using BitmapData) but > I would be very clear about what I'm wanting to test and whether ASUnit can > actually help me achieve this. > > > > I'm happy to help you with a specific example, but it's a bit difficult to > give you an abstract example that would actually be useful. > > > > Thanks, > > > > Ian > ------------------------------ > > *From:* asu...@li... [mailto: > asu...@li...] *On Behalf Of *Uno Dos > *Sent:* 03 August 2008 17:55 > *To:* Mailing List for the users of AsUnit > *Subject:* Re: [Asunit-users] Testing Event Driven Architecture > > > > I am in the same boat as Mudit - but am sure once I see a working example > of unit testing on a traditional component (i.e. a SimpleButton) that > changes a state or a value when pressed, and then changes it back when > pressed again - this will give me something to work with. > > Uno > > 2008/7/23 Ian Tyrrell <Ia...@mo...> > > Hi Mudit, > > Do you have an example of what you're trying to test? > > The ease of testing will be based on how interdependent the components > of your architecture are. You should be aiming to reduce dependency on > concrete implementations (using interfaces and abstract classes). > > If you are happy to post an example of what you're having difficulty > with, I can try to help. > > Thanks, > > Ian > > > -----Original Message----- > From: asu...@li... > [mailto:asu...@li...] On Behalf Of mudit > tuli > Sent: 23 July 2008 05:26 > To: asu...@li... > Subject: [Asunit-users] Testing Event Driven Architecture > > I am new to AsUnit, and I followed few tutorials on how to unit test. > But I am somewhat confused on how to unit test with AsUnit an Event > based architecture ! > > ------------------------------------------------------------------------ > - > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the > world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Asunit-users mailing list > Asu...@li... > https://lists.sourceforge.net/lists/listinfo/asunit-users > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Asunit-users mailing list > Asu...@li... > https://lists.sourceforge.net/lists/listinfo/asunit-users > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Asunit-users mailing list > Asu...@li... > https://lists.sourceforge.net/lists/listinfo/asunit-users > > -- j:pn \\no comment |
|
From: Ian T. <Ia...@mo...> - 2008-08-04 09:53:10
|
Are you wanting to test a custom visual component, or is it that your class under test uses a visual component? If you give me a bit more context then I could probably put together an example. It's important to understand that ASUnit is a unit testing framework, not an integration testing framework. It is designed to help verify behavior of a single unit of functionality in your application, typically at single class/method level. It's not really appropriate if you want to test the end-to-end functionality of your application. If you want to verify that when a user clicks a button a request is made to the server, this would be an integration test. You could however write several unit tests that cover the individual components involved in the above scenario: * A test to verify that when a user clicks your button class a click event is dispatched. * A test to verify that the consumer of your button event performs a particular action (e.g. invoking a service). * A test to verify that a particular service call makes a request with particular parameters. Testing visual components has it's own challenges as you are usually bound to concrete dependencies (flash core classes, library assets), flash 8 made it more feasible technically to verify visual states (using BitmapData) but I would be very clear about what I'm wanting to test and whether ASUnit can actually help me achieve this. I'm happy to help you with a specific example, but it's a bit difficult to give you an abstract example that would actually be useful. Thanks, Ian ________________________________ From: asu...@li... [mailto:asu...@li...] On Behalf Of Uno Dos Sent: 03 August 2008 17:55 To: Mailing List for the users of AsUnit Subject: Re: [Asunit-users] Testing Event Driven Architecture I am in the same boat as Mudit - but am sure once I see a working example of unit testing on a traditional component (i.e. a SimpleButton) that changes a state or a value when pressed, and then changes it back when pressed again - this will give me something to work with. Uno 2008/7/23 Ian Tyrrell <Ia...@mo...> Hi Mudit, Do you have an example of what you're trying to test? The ease of testing will be based on how interdependent the components of your architecture are. You should be aiming to reduce dependency on concrete implementations (using interfaces and abstract classes). If you are happy to post an example of what you're having difficulty with, I can try to help. Thanks, Ian -----Original Message----- From: asu...@li... [mailto:asu...@li...] On Behalf Of mudit tuli Sent: 23 July 2008 05:26 To: asu...@li... Subject: [Asunit-users] Testing Event Driven Architecture I am new to AsUnit, and I followed few tutorials on how to unit test. But I am somewhat confused on how to unit test with AsUnit an Event based architecture ! ------------------------------------------------------------------------ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Asunit-users mailing list Asu...@li... https://lists.sourceforge.net/lists/listinfo/asunit-users ------------------------------------------------------------------------ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Asunit-users mailing list Asu...@li... https://lists.sourceforge.net/lists/listinfo/asunit-users |
|
From: Uno D. <un...@st...> - 2008-08-03 16:54:51
|
I am in the same boat as Mudit - but am sure once I see a working example of unit testing on a traditional component (i.e. a SimpleButton) that changes a state or a value when pressed, and then changes it back when pressed again - this will give me something to work with. Uno 2008/7/23 Ian Tyrrell <Ia...@mo...> > Hi Mudit, > > Do you have an example of what you're trying to test? > > The ease of testing will be based on how interdependent the components > of your architecture are. You should be aiming to reduce dependency on > concrete implementations (using interfaces and abstract classes). > > If you are happy to post an example of what you're having difficulty > with, I can try to help. > > Thanks, > > Ian > > -----Original Message----- > From: asu...@li... > [mailto:asu...@li...] On Behalf Of mudit > tuli > Sent: 23 July 2008 05:26 > To: asu...@li... > Subject: [Asunit-users] Testing Event Driven Architecture > > I am new to AsUnit, and I followed few tutorials on how to unit test. > But I am somewhat confused on how to unit test with AsUnit an Event > based architecture ! > > ------------------------------------------------------------------------ > - > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the > world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Asunit-users mailing list > Asu...@li... > https://lists.sourceforge.net/lists/listinfo/asunit-users > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Asunit-users mailing list > Asu...@li... > https://lists.sourceforge.net/lists/listinfo/asunit-users > |
|
From: Ian T. <Ia...@mo...> - 2008-07-29 16:50:08
|
Good to hear you've got it working. Let me know if you have any more queries. Ian -----Original Message----- From: asu...@li... [mailto:asu...@li...] On Behalf Of Elliot Winard Sent: 29 July 2008 15:26 To: asu...@li... Subject: Re: [Asunit-users] asunit3 > asunit25 back-port is complete and on my branch (Ian Tyrrell) Ian - Thanks for pointing me at the test suite for the test suite. The problem with my code was that I was not importing the correct Timer/Event/EventDispatcher classes. I'm all good now. Thanks! -e <snip/> > Can you confirm if the test suite pass? <snip/> ------------------------------------------------------------------------ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Asunit-users mailing list Asu...@li... https://lists.sourceforge.net/lists/listinfo/asunit-users |
|
From: Elliot W. <ell...@fr...> - 2008-07-29 15:25:38
|
Ian - Thanks for pointing me at the test suite for the test suite. The problem with my code was that I was not importing the correct Timer/Event/EventDispatcher classes. I'm all good now. Thanks! -e <snip/> > Can you confirm if the test suite pass? <snip/> |
|
From: Ian T. <Ia...@mo...> - 2008-07-29 09:40:14
|
Hi Elliot, The test suite for the port (located in framework-test/as25) includes coverage of the new asynchronous features. I've also just copied testAsyncFeature() verbatim from TestCaseExample to AsyncMethodTest and for me it passes. I've compiled using Flash CS3 (targeting swf version 7/8 - 9 doesn't seem to work) and MTASC (not sure what the default version is, possibly 7). I had to modify something to prevent compilation errors in Flash, but if you update, it's all there. So in summary, yes, addAsync() should be working on the branch. Can you confirm if the test suite pass? You just need to compile framework-test/as25/AsUnitTestRunner.as (with -main for MTASC), or framework-test/as25/AsUnitTestRunner.fla if you're using Flash (the .fla was saved for CS3). Let me know the results of running the test suite, and hopefully I can help you further from there. Thanks, Ian -----Original Message----- From: asu...@li... [mailto:asu...@li...] On Behalf Of Elliot Winard Sent: 28 July 2008 19:00 To: asu...@li... Subject: Re: [Asunit-users] asunit3 > asunit25 back-port is complete and on my branch (Ian Tyrrell) Does this mean that addAsync() *should* work on the AS25 ityrrell branch? I updated my project's asunit package to the bits in r200 on your sourceforge repo [0] and copied the testAsyncFeature() and changeHandler() from TestCaseExample.as into one of my testcases. I added a trace to the changeHandler() function and it is never being called. Should addAsync() be working? My app needs to run in a FP6 environment but can run the test in a newer Flash Player build. I've tested publishing to FP7 and FP8. Thanks! -e [0] https://asunit.svn.sourceforge.net/svnroot/asunit/branches/ityrrell/fram ewor k/as25 On 7/14/08 11:58 AM, "asu...@li..." <asu...@li...> wrote: > > Message: 6 > Date: Mon, 14 Jul 2008 12:36:34 +0100 > From: "Ian Tyrrell" <Ia...@mo...> > Subject: [Asunit-users] asunit3 > asunit25 back-port is complete and > on my branch > To: "Mailing List for the users of AsUnit" > <asu...@li...> > Message-ID: > <B8B...@mi...> > Content-Type: text/plain; charset="us-ascii" > > Hello list, > > > > I've finished the back-port of asunit3 to asunit25 (for actionscript 2 > FP7+) and it's now available on my branch: > > > > https://asunit.svn.sourceforge.net/svnroot/asunit/branches/ityrrell > > > > This includes my revision to asunit3 that allows multiple async calls in > setUp / test* methods. > > > > I've also ported the tests that had been written against asunit3 and > used these to verify that it's working as expected. The tests do not > have 100% coverage so there will almost certainly still be some bugs. > > > > Please note that this port has ignored the previous asunit25 API > including helper methods for attaching movieClips / creating new > movieClips AND the previous AsynchronousTestCase class that could be > used for loading XML data. N.B. this isn't quite a drop-in replacement > for existing users taking advantage of these methods (yet). I propose > that people use the far more flexible addAsync(), but am open to > suggestions for a broader range of additional support for tests. I also > plan to re-implement the movieclip related helper methods and am open to > suggestions of additional functionality. > > > > Another idea I have is a set of utilities that dynamically override > aspects of the core API that will allow easier testing of tightly > coupled classes. More specifically things that are currently difficult > to test such as simulating mouse / keyboard interaction. > > > > There is still light for those of us stuck with AS2 (for the time > being)! > > > > Thanks. > > > > Ian Tyrrell > ------------------------------------------------------------------------ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Asunit-users mailing list Asu...@li... https://lists.sourceforge.net/lists/listinfo/asunit-users |
|
From: Elliot W. <ell...@fr...> - 2008-07-28 18:00:14
|
Does this mean that addAsync() *should* work on the AS25 ityrrell branch? I updated my project's asunit package to the bits in r200 on your sourceforge repo [0] and copied the testAsyncFeature() and changeHandler() from TestCaseExample.as into one of my testcases. I added a trace to the changeHandler() function and it is never being called. Should addAsync() be working? My app needs to run in a FP6 environment but can run the test in a newer Flash Player build. I've tested publishing to FP7 and FP8. Thanks! -e [0] https://asunit.svn.sourceforge.net/svnroot/asunit/branches/ityrrell/framewor k/as25 On 7/14/08 11:58 AM, "asu...@li..." <asu...@li...> wrote: > > Message: 6 > Date: Mon, 14 Jul 2008 12:36:34 +0100 > From: "Ian Tyrrell" <Ia...@mo...> > Subject: [Asunit-users] asunit3 > asunit25 back-port is complete and > on my branch > To: "Mailing List for the users of AsUnit" > <asu...@li...> > Message-ID: > <B8B...@mi...> > Content-Type: text/plain; charset="us-ascii" > > Hello list, > > > > I've finished the back-port of asunit3 to asunit25 (for actionscript 2 > FP7+) and it's now available on my branch: > > > > https://asunit.svn.sourceforge.net/svnroot/asunit/branches/ityrrell > > > > This includes my revision to asunit3 that allows multiple async calls in > setUp / test* methods. > > > > I've also ported the tests that had been written against asunit3 and > used these to verify that it's working as expected. The tests do not > have 100% coverage so there will almost certainly still be some bugs. > > > > Please note that this port has ignored the previous asunit25 API > including helper methods for attaching movieClips / creating new > movieClips AND the previous AsynchronousTestCase class that could be > used for loading XML data. N.B. this isn't quite a drop-in replacement > for existing users taking advantage of these methods (yet). I propose > that people use the far more flexible addAsync(), but am open to > suggestions for a broader range of additional support for tests. I also > plan to re-implement the movieclip related helper methods and am open to > suggestions of additional functionality. > > > > Another idea I have is a set of utilities that dynamically override > aspects of the core API that will allow easier testing of tightly > coupled classes. More specifically things that are currently difficult > to test such as simulating mouse / keyboard interaction. > > > > There is still light for those of us stuck with AS2 (for the time > being)! > > > > Thanks. > > > > Ian Tyrrell > |
|
From: Ian T. <Ia...@mo...> - 2008-07-23 10:26:00
|
Hi Mudit, Do you have an example of what you're trying to test? The ease of testing will be based on how interdependent the components of your architecture are. You should be aiming to reduce dependency on concrete implementations (using interfaces and abstract classes). If you are happy to post an example of what you're having difficulty with, I can try to help. Thanks, Ian -----Original Message----- From: asu...@li... [mailto:asu...@li...] On Behalf Of mudit tuli Sent: 23 July 2008 05:26 To: asu...@li... Subject: [Asunit-users] Testing Event Driven Architecture I am new to AsUnit, and I followed few tutorials on how to unit test. But I am somewhat confused on how to unit test with AsUnit an Event based architecture ! ------------------------------------------------------------------------ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Asunit-users mailing list Asu...@li... https://lists.sourceforge.net/lists/listinfo/asunit-users |
|
From: mudit t. <mud...@gm...> - 2008-07-23 04:25:43
|
I am new to AsUnit, and I followed few tutorials on how to unit test. But I am somewhat confused on how to unit test with AsUnit an Event based architecture ! |
|
From: Boysenberry P. <boy...@ha...> - 2008-07-15 01:42:17
|
Welcome Ian, look forward to what your working on. Thanks!!! -bop On Jul 12, 2008, at 1:53 AM, Luke Bayes wrote: > Hey Folks, > > I just wanted to throw an official welcome out to Ian Tyrrell. He's > currently working to implement asynchronous queues for our > ActionScript 3 build, and then back-porting that functionality to the > ActionScript 2.5 release. > > This means that in the near future, we'll all be able to add as many > asynchronous handlers as we need, and halt test execution until each > of them are called. > > We're looking forward to working with Ian as we move forward with > AsUnit and just wanted to throw a public shout out. > > > Thanks Ian! > > > Luke Bayes > http://www.asunit.org > > ------------------------------------------------------------------------- > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > Studies have shown that voting for your favorite open source project, > along with a healthy diet, reduces your potential for chronic lameness > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > _______________________________________________ > Asunit-users mailing list > Asu...@li... > https://lists.sourceforge.net/lists/listinfo/asunit-users |
|
From: Luke B. <lb...@pa...> - 2008-07-14 22:42:57
|
Hey Folks, I just wanted to throw an official welcome out to Ian Tyrrell. He's currently working to implement asynchronous queues for our ActionScript 3 build, and then back-porting that functionality to the ActionScript 2.5 release. This means that in the near future, we'll all be able to add as many asynchronous handlers as we need, and halt test execution until each of them are called. We're looking forward to working with Ian as we move forward with AsUnit and just wanted to throw a public shout out. Thanks Ian! Luke Bayes http://www.asunit.org |
|
From: Ian T. <Ia...@mo...> - 2008-07-14 18:16:48
|
Thanks for the link.
--> Supports AIR, Flex 3, Flex 2 and pure AS3 (Sprite based) test
applications.
Unfortunately I need as2 support, so as-is this won't fit my
requirements.
-----Original Message-----
From: asu...@li...
[mailto:asu...@li...] On Behalf Of Ali
Mills
Sent: 14 July 2008 19:04
To: Mailing List for the users of AsUnit
Subject: Re: [Asunit-users] Proposal: An AIR implementation of the
XMLresult printer for continuous integration
Just found some links to Clint's AirRunner project:
the project page :: http://www.airrunner.org/
Breeze prezo from SilVaFUG::
https://admin.adobe.acrobat.com/_a200985228/p10792968/
Ali
On Fri, Jul 11, 2008 at 10:12 AM, Luke Bayes <lb...@pa...>
wrote:
>
> If you're interested in pursuing this approach, I think Clint from
> Esria built something similar last year, but I can't find anything in
> a quick search or two.
>
------------------------------------------------------------------------
-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Asunit-users mailing list
Asu...@li...
https://lists.sourceforge.net/lists/listinfo/asunit-users
|
|
From: Ali M. <am...@pa...> - 2008-07-14 18:03:54
|
Just found some links to Clint's AirRunner project:
the project page :: http://www.airrunner.org/
Breeze prezo from SilVaFUG::
https://admin.adobe.acrobat.com/_a200985228/p10792968/
Ali
On Fri, Jul 11, 2008 at 10:12 AM, Luke Bayes <lb...@pa...> wrote:
>
> If you're interested in pursuing this approach, I think Clint from
> Esria built something similar last year, but I can't find anything in
> a quick search or two.
>
|
|
From: Luke B. <lb...@pa...> - 2008-07-14 15:58:10
|
Hey Folks, I sent out an introduction last week, but it's been held up by some mail server error. Ali and I have added Ian Tyrrell as a developer on AsUnit and he has been working hard to get some updates in place for all of us. Thanks so much for all your work on this Ian! Those of you that are working with ActionScript 3, please try out Ian's branch and let us know if it works for you. The ActionScript 3 branch should be a drop-in replacement for previous versions. Ian has added the ability to call 'addAsync' multiple times in the same method. Test execution should be paused until each callback has been executed. In previous versions, we could only call addAsync once within a particular test method. You can pull the latest ActionScript 3 branch into your current working directory with: svn co http://asunit.svn.sourceforge.net/svnroot/asunit/branches/ityrrell/framework/as3 . Thanks again Ian! Luke Bayes http://www.asunit.org |
|
From: Ian T. <Ia...@mo...> - 2008-07-14 11:36:55
|
Hello list, I've finished the back-port of asunit3 to asunit25 (for actionscript 2 FP7+) and it's now available on my branch: https://asunit.svn.sourceforge.net/svnroot/asunit/branches/ityrrell This includes my revision to asunit3 that allows multiple async calls in setUp / test* methods. I've also ported the tests that had been written against asunit3 and used these to verify that it's working as expected. The tests do not have 100% coverage so there will almost certainly still be some bugs. Please note that this port has ignored the previous asunit25 API including helper methods for attaching movieClips / creating new movieClips AND the previous AsynchronousTestCase class that could be used for loading XML data. N.B. this isn't quite a drop-in replacement for existing users taking advantage of these methods (yet). I propose that people use the far more flexible addAsync(), but am open to suggestions for a broader range of additional support for tests. I also plan to re-implement the movieclip related helper methods and am open to suggestions of additional functionality. Another idea I have is a set of utilities that dynamically override aspects of the core API that will allow easier testing of tightly coupled classes. More specifically things that are currently difficult to test such as simulating mouse / keyboard interaction. There is still light for those of us stuck with AS2 (for the time being)! Thanks. Ian Tyrrell |
|
From: Luke B. <lb...@pa...> - 2008-07-11 17:52:45
|
Sorry this took me a minute to catch. About the back-port naming.... Let's internally append a version number to the end, like 2.5.2. We can just update the source trunk in the same location with this enhancement. Meaning I'd rather not see folders in SVN like: as2 as25 as26 as3 We've been struggling with version numbers and the first/second numbers are basically referencing the supported version of ActionScript. Even though Adobe hasn't come out and named a version of AS "2.5", that's essentially what they do when they modify the language in between player versions. So let's keep the version control folders looking like: as2 as25 as3 Thanks! Luke |