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: Luke B. <lb...@pa...> - 2008-07-11 17:15:46
|
Fantastic Elliot. It looks like Ian will have the async stuff in there for you pretty soon! Luke On Fri, Jul 11, 2008 at 8:36 AM, Elliot Winard <ell...@fr...> wrote: > Somewhat good news - I think I'm going to move from the AS2 build to the > AS2.5 build for testing. > > Thx anyhow, > -e > > > ------------------------------------------------------------------------- > 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-11 17:14:31
|
Wow Ian! I'll take a look at this today! Feel free to move into the AS2 build if you're still motivated. Luke On Fri, Jul 11, 2008 at 8:11 AM, Ian Tyrrell <Ia...@mo...> wrote: > Luke, > > I think I've implemented something along the lines of what you were > after. > I've replaced the methodIsAsynchronous/setUpIsAsynchronous stuff with an > asyncQueue Array that gets populated by AsynchronousOperations. > Attached is a patch (for the trunk). > > If that all works for you I can go ahead with the back-port (let's call > it 2.6??) > > Ian > > -----Original Message----- > From: asu...@li... > [mailto:asu...@li...] On Behalf Of Luke > Bayes > Sent: 10 July 2008 20:04 > To: Mailing List for the users of AsUnit > Subject: Re: [Asunit-users] [asunit-users] backport > ofaddAsyncinframework/25 ? > > Hey Ian, > > We were using the old XUL UI to auto-generate our test suite > (AllTests.as). > > You should be able to do the same, and it would be great if you're in > there to go ahead and add that file to your patch. > > Thanks, > > > Luke > > ------------------------------------------------------------------------- > 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-11 17:12:35
|
Hey Ian, I've been working on a different open-source project that solves this problem (and many, many others). Essentially, I have wrapped the debug Flash Player behind a line-command Ruby application that can be executed and controlled from a Continuous Integration server. This tool set should automatically create and manage all those pesky config files and the version that's currently checked into trunk has a preliminary implementation that wraps the Flex Debugger so that runtime exceptions are handled properly too. There's still a little distance left on this project, but it should solve the problem you're considering and many related issues that surround it. http://www.projectsprouts.org With all that said, yes. Apollo could be one way to get what you're looking for. We've had some trouble with Local Connection in the past, especially when that was our only real means of transmitting test results. 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. Please keep us informed about your progress and we'll be sure to help you spread the word! Thanks, Luke Bayes http://www.asunit.org |
|
From: Ian T. <Ia...@mo...> - 2008-07-11 15:36:28
|
Luke, Ali, Firstly, thanks for all you've done so far with ASUnit. On the subject of continuous integration I was wondering about creating an AIR result printer that could write to an arbitrary file (rather than the flash.log). Given that you can pass arguments to AIR on the command line, this might make it a bit more flexible for integrating into builds. The linux version of AIR is still in alpha, so might not quite be there yet, but still. I'd use LocalConnection to communicate between the TestRunner and the AIR app. Thanks, Ian |
|
From: Elliot W. <ell...@fr...> - 2008-07-11 15:36:21
|
Somewhat good news - I think I'm going to move from the AS2 build to the AS2.5 build for testing. Thx anyhow, -e |
|
From: Ian T. <Ia...@mo...> - 2008-07-11 15:11:36
|
Luke, I think I've implemented something along the lines of what you were after. I've replaced the methodIsAsynchronous/setUpIsAsynchronous stuff with an asyncQueue Array that gets populated by AsynchronousOperations. Attached is a patch (for the trunk). If that all works for you I can go ahead with the back-port (let's call it 2.6??) Ian -----Original Message----- From: asu...@li... [mailto:asu...@li...] On Behalf Of Luke Bayes Sent: 10 July 2008 20:04 To: Mailing List for the users of AsUnit Subject: Re: [Asunit-users] [asunit-users] backport ofaddAsyncinframework/25 ? Hey Ian, We were using the old XUL UI to auto-generate our test suite (AllTests.as). You should be able to do the same, and it would be great if you're in there to go ahead and add that file to your patch. Thanks, Luke |
|
From: Elliot W. <ell...@fr...> - 2008-07-11 15:03:45
|
> The AS2 build of AsUnit (not the AS 2.5) is really old. It has
> actually been quite a few years since I've used it, and I only recall
> using it in the context of Flash Authoring with the MXP installer. Is
> this how you're doing it here, or are you using MTASC?
No MXP installer. Just importing the library and running the tests in an
"asunit" layer -
// uncomment to run automated asunit tests
//
import com.mycompany.test.MyTestRunner;
var testRunner=new MyTestRunner();
> What I'm trying to get at here, is that the 'back-port' from AS3 to
> AS2.5 is going to be relatively straight-forward, but to go further
> back to AS2, is probably not going to happen. It would make more sense
> to simply re-implement that feature in the AS2 build if that's what
> you need.
Yup. I figured. I was hoping that I could just use the asunit framework
rather than having to delve inside the lib to add asynchronous testing. If
I have time to do this then hopefully I can contribute it back to the asunit
project.
> I'm curious about what you're doing that requires the Flash 6 player
> at this point, are you sure you can't move up to Flash 7, I believe
> Flash Lite works with the AsUnit25 branch.
<snip/>
> I'm asking about Flash Player 6 vs. 7 because it affects which version
> of AsUnit you should use. For 6, you should use AsUnit 2. For 7, you
> should use AsUnit 2.5. If you can use AsUnit 2.5, you should. It's
> much better.
>
> Sorry for the suspicion; just trying to get a better understanding of
> what's going on with your project.
It would be nice to move up to more a more recent AS version but the
application we are building needs to run on the MachBlue Mobile platform
[0], not Flash Lite. I'm just glad that I don't have to fall back to
tellTarget() statements!
Thanks!
-e
[0] http://www.bluestreaktech.com/machblue-mobile.asp
|
|
From: Ian T. <Ia...@mo...> - 2008-07-11 10:20:42
|
Ok, have generated the test suites. I'm using FDT and notice a few warnings/errors that I'd normally clean up (to avoid noise). They are things like missing return statements, missing semi-colons etc. Are you ok if I go ahead and tidy these too (and include in my patch)? Ian -----Original Message----- From: asu...@li... [mailto:asu...@li...] On Behalf Of Luke Bayes Sent: 10 July 2008 20:04 To: Mailing List for the users of AsUnit Subject: Re: [Asunit-users] [asunit-users] backport ofaddAsyncinframework/25 ? Hey Ian, We were using the old XUL UI to auto-generate our test suite (AllTests.as). You should be able to do the same, and it would be great if you're in there to go ahead and add that file to your patch. Thanks, Luke On Thu, Jul 10, 2008 at 10:45 AM, Ian Tyrrell <Ia...@mo...> wrote: > Ok, I've checked out trunk/framework and trunk/framework-test and would like > to start by getting the asunit3 framework tests running (and passing!) > > > > Is the AsUnitTestRunner class in the package root (framework/as3/asunit/) > there as a template/example, or is that how I should bootstrap the framework > tests? > > > > It makes reference to 'AllTests' - I wasn't sure if this was just a > placeholder/hint or if it's for asunit/framework/AllTests in the > framework-test tree. > > > > Ian > > > > ________________________________ > > From: asu...@li... > [mailto:asu...@li...] On Behalf Of Luke Bayes > Sent: 10 July 2008 16:45 > To: Mailing List for the users of AsUnit > Subject: Re: [Asunit-users] [asunit-users] backport of > addAsyncinframework/25 ? > > > > Thanks for asking. The code is still up on Sourceforge here: > > http://sourceforge.net/svn/?group_id=108947 > > We've been considering moving the whole project to Google code or possibly > even Github, but we haven't come to a real decision or gotten around to it > yet. > > > Luke > > ------------------------------------------------------------------------ - > 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 > > ------------------------------------------------------------------------ - 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-10 22:03:06
|
Arg...........!
Still wrong! Not static. This is the line of code:
private var className:String = "com.mycompany.test.NavigatorTest";
No more advice from me until I get reacquainted with AS2.
Ali
On Thu, Jul 10, 2008 at 3:00 PM, Ali Mills <am...@pa...> wrote:
> I think I might have led you astray. Like I said, it's been a while
> for AS2 or mobile...
>
> Instead of the line I suggested:
>
> private static var className:String = "NavigatorTest"
>
> I think that it should be:
>
> private static var className:String = "com.mycompany.test.NavigatorTest"
>
> Sorry about that.
>
> Aral's article, http://aralbalkan.com/375?more=1&c=1, might be useful?
>
>
> Ali
>
>
> On Thu, Jul 10, 2008 at 2:51 PM, Ali Mills <am...@pa...> wrote:
>> Hey Elliot,
>>
>> It's been a long time since I've worked with AS 2 or mobile, but
>> curiously, what device only supports the equivalent of Flash 6 AS2?
>> Isn't Flash Lite 1.5 basically Flash Player 4, FL2 Flash Player 7
>> (http://www.adobe.com/products/flashlite/productinfo/features/), and
>> FL3 Flash player 8
>> (http://www.adobe.com/products/flashlite/features/)?
>>
>> I'm asking about Flash Player 6 vs. 7 because it affects which version
>> of AsUnit you should use. For 6, you should use AsUnit 2. For 7, you
>> should use AsUnit 2.5. If you can use AsUnit 2.5, you should. It's
>> much better.
>>
>> Sorry for the suspicion; just trying to get a better understanding of
>> what's going on with your project.
>>
>> One issue that does pop up is in the line:
>>
>>> [1]
>>> class com.mycompany.test.NavigatorTest extends TestCase {
>>> private var className:String = "NavigatorTest";
>>>
>>
>> The className should be static. As in:
>>
>>> [1]
>>> class com.mycompany.test.NavigatorTest extends TestCase {
>>> private static var className:String = "NavigatorTest";
>>>
>>
>>
>> Ali
>>
>>
>>
>
|
|
From: Ali M. <am...@pa...> - 2008-07-10 22:00:49
|
I think I might have led you astray. Like I said, it's been a while
for AS2 or mobile...
Instead of the line I suggested:
private static var className:String = "NavigatorTest"
I think that it should be:
private static var className:String = "com.mycompany.test.NavigatorTest"
Sorry about that.
Aral's article, http://aralbalkan.com/375?more=1&c=1, might be useful?
Ali
On Thu, Jul 10, 2008 at 2:51 PM, Ali Mills <am...@pa...> wrote:
> Hey Elliot,
>
> It's been a long time since I've worked with AS 2 or mobile, but
> curiously, what device only supports the equivalent of Flash 6 AS2?
> Isn't Flash Lite 1.5 basically Flash Player 4, FL2 Flash Player 7
> (http://www.adobe.com/products/flashlite/productinfo/features/), and
> FL3 Flash player 8
> (http://www.adobe.com/products/flashlite/features/)?
>
> I'm asking about Flash Player 6 vs. 7 because it affects which version
> of AsUnit you should use. For 6, you should use AsUnit 2. For 7, you
> should use AsUnit 2.5. If you can use AsUnit 2.5, you should. It's
> much better.
>
> Sorry for the suspicion; just trying to get a better understanding of
> what's going on with your project.
>
> One issue that does pop up is in the line:
>
>> [1]
>> class com.mycompany.test.NavigatorTest extends TestCase {
>> private var className:String = "NavigatorTest";
>>
>
> The className should be static. As in:
>
>> [1]
>> class com.mycompany.test.NavigatorTest extends TestCase {
>> private static var className:String = "NavigatorTest";
>>
>
>
> Ali
>
>
>
|
|
From: Ali M. <am...@pa...> - 2008-07-10 21:51:05
|
Hey Elliot, It's been a long time since I've worked with AS 2 or mobile, but curiously, what device only supports the equivalent of Flash 6 AS2? Isn't Flash Lite 1.5 basically Flash Player 4, FL2 Flash Player 7 (http://www.adobe.com/products/flashlite/productinfo/features/), and FL3 Flash player 8 (http://www.adobe.com/products/flashlite/features/)? I'm asking about Flash Player 6 vs. 7 because it affects which version of AsUnit you should use. For 6, you should use AsUnit 2. For 7, you should use AsUnit 2.5. If you can use AsUnit 2.5, you should. It's much better. Sorry for the suspicion; just trying to get a better understanding of what's going on with your project. One issue that does pop up is in the line: > [1] > class com.mycompany.test.NavigatorTest extends TestCase { > private var className:String = "NavigatorTest"; > The className should be static. As in: > [1] > class com.mycompany.test.NavigatorTest extends TestCase { > private static var className:String = "NavigatorTest"; > Ali On Thu, Jul 10, 2008 at 12:19 PM, Elliot Winard <ell...@fr...> wrote: > I'm writing asunit tests for an application that needs to run on a device > that only supports the equivalent of AS2.0 Flash 6. > > The tests run correctly but I get an error message [0] for each TestCase I > extend. The classes *do* have a className defined [1] but, based on the > debugger, it looks like the constructors are being called without a context > - "this" is not defined so the className passed to setCurrentClassName() in > TestCase.run() is not defined. > > Is anybody able to run asunit2 tests in FP6 without getting these warnings? > > Other than this the tests run using asunit out-of-the-box. I haven't looked > at adding asynchronous tests yet, but that's next. Based on the one day of > list traffic that I've seen, that is not yet backported to asunit. > > Thx, > -e > > > [0] >> Any class that extends Assert should have an instance member named > [className] because there is no reflection in AS 2.0 > > [1] > class com.mycompany.test.NavigatorTest extends TestCase { > private var className:String = "NavigatorTest"; > > // *** test methods go here *** > } > > > ------------------------------------------------------------------------- > 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-10 21:45:24
|
OK - The AS2 build of AsUnit (not the AS 2.5) is really old. It has actually been quite a few years since I've used it, and I only recall using it in the context of Flash Authoring with the MXP installer. Is this how you're doing it here, or are you using MTASC? One of the main issues with this build is that we couldn't rely on exceptions because ActionScript 2 (for FP 6) does not support them. xUnit frameworks in other environments heavily rely on exception handling to deal with assertion failure and unexpected situations. What I'm trying to get at here, is that the 'back-port' from AS3 to AS2.5 is going to be relatively straight-forward, but to go further back to AS2, is probably not going to happen. It would make more sense to simply re-implement that feature in the AS2 build if that's what you need. Another issue with this build, is that the test results are transmitted to an output panel (Running SWF file) over local connection. We chose to do it this way because in Flash Authoring 6, we couldn't mess with (or add output to) the _root time line with any amount of confidence. Basically, we needed to be able to execute our test harness directly from our application FLA - which may or may not have a bunch of other junk on the _root time line. So, before running your harness, you'll want to launch the AsUnitUI.swf found in version control at: trunk/framework/as2/AsUnitUI.swf. I'm curious about what you're doing that requires the Flash 6 player at this point, are you sure you can't move up to Flash 7, I believe Flash Lite works with the AsUnit25 branch. Thanks, Luke Bayes |
|
From: Elliot W. <ell...@fr...> - 2008-07-10 19:23:51
|
Oops. Itchy trigger-finger. Another thing that I don't understand is that the client-side output appears (but tests are not run) even if I only import my TestRunner and do not instantiate anything. The only test code in the Flash piece is copied below. [0] Thx, -e [0] import com.mycompany.test.MyTestRunner; //var testRunner=new MyTestRunner(); |
|
From: Elliot W. <ell...@fr...> - 2008-07-10 19:19:50
|
I'm writing asunit tests for an application that needs to run on a device
that only supports the equivalent of AS2.0 Flash 6.
The tests run correctly but I get an error message [0] for each TestCase I
extend. The classes *do* have a className defined [1] but, based on the
debugger, it looks like the constructors are being called without a context
- "this" is not defined so the className passed to setCurrentClassName() in
TestCase.run() is not defined.
Is anybody able to run asunit2 tests in FP6 without getting these warnings?
Other than this the tests run using asunit out-of-the-box. I haven't looked
at adding asynchronous tests yet, but that's next. Based on the one day of
list traffic that I've seen, that is not yet backported to asunit.
Thx,
-e
[0] >> Any class that extends Assert should have an instance member named
[className] because there is no reflection in AS 2.0
[1]
class com.mycompany.test.NavigatorTest extends TestCase {
private var className:String = "NavigatorTest";
// *** test methods go here ***
}
|
|
From: Luke B. <lb...@pa...> - 2008-07-10 19:04:05
|
Hey Ian, We were using the old XUL UI to auto-generate our test suite (AllTests.as). You should be able to do the same, and it would be great if you're in there to go ahead and add that file to your patch. Thanks, Luke On Thu, Jul 10, 2008 at 10:45 AM, Ian Tyrrell <Ia...@mo...> wrote: > Ok, I've checked out trunk/framework and trunk/framework-test and would like > to start by getting the asunit3 framework tests running (and passing!) > > > > Is the AsUnitTestRunner class in the package root (framework/as3/asunit/) > there as a template/example, or is that how I should bootstrap the framework > tests? > > > > It makes reference to 'AllTests' – I wasn't sure if this was just a > placeholder/hint or if it's for asunit/framework/AllTests in the > framework-test tree. > > > > Ian > > > > ________________________________ > > From: asu...@li... > [mailto:asu...@li...] On Behalf Of Luke Bayes > Sent: 10 July 2008 16:45 > To: Mailing List for the users of AsUnit > Subject: Re: [Asunit-users] [asunit-users] backport of > addAsyncinframework/25 ? > > > > Thanks for asking. The code is still up on Sourceforge here: > > http://sourceforge.net/svn/?group_id=108947 > > We've been considering moving the whole project to Google code or possibly > even Github, but we haven't come to a real decision or gotten around to it > yet. > > > Luke > > ------------------------------------------------------------------------- > 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: Ian T. <Ia...@mo...> - 2008-07-10 17:45:56
|
Ok, I've checked out trunk/framework and trunk/framework-test and would like to start by getting the asunit3 framework tests running (and passing!) Is the AsUnitTestRunner class in the package root (framework/as3/asunit/) there as a template/example, or is that how I should bootstrap the framework tests? It makes reference to 'AllTests' - I wasn't sure if this was just a placeholder/hint or if it's for asunit/framework/AllTests in the framework-test tree. Ian ________________________________ From: asu...@li... [mailto:asu...@li...] On Behalf Of Luke Bayes Sent: 10 July 2008 16:45 To: Mailing List for the users of AsUnit Subject: Re: [Asunit-users] [asunit-users] backport of addAsyncinframework/25 ? Thanks for asking. The code is still up on Sourceforge here: http://sourceforge.net/svn/?group_id=108947 We've been considering moving the whole project to Google code or possibly even Github, but we haven't come to a real decision or gotten around to it yet. Luke |
|
From: Luke B. <lb...@pa...> - 2008-07-10 15:45:23
|
Thanks for asking. The code is still up on Sourceforge here: http://sourceforge.net/svn/?group_id=108947 We've been considering moving the whole project to Google code or possibly even Github, but we haven't come to a real decision or gotten around to it yet. Luke |
|
From: Ian T. <Ia...@mo...> - 2008-07-10 15:22:11
|
Luke, Is it best for me to download the latest source from http://projectsprouts.googlecode.com/files/asunit3-1.5.zip or do you still have some kind of repository for asunit? Thanks. Ian ________________________________ From: asu...@li... [mailto:asu...@li...] On Behalf Of Luke Bayes Sent: 10 July 2008 16:10 To: Mailing List for the users of AsUnit Subject: Re: [Asunit-users] [asunit-users] backport of addAsync inframework/25 ? Hey Ian, We haven't made the time to do this yet either. If you are interested in taking this on, we'd be happy to accept any patches you create. The AS3 version currently supports addAsync in both your test methods, and the setUp method. One issue that has come up for me, is that you can only call addAsync once inside of a test method and I've run into a couple of use cases where it would have been handy to chain those calls and halt execution until each callback in the chain was called. Essentially, if addAsync managed a queue of pending methods, that would be a great feature add. With that said, a straight back port would also be appreciated! Let me know if you have any questions. Thanks, Luke Bayes |
|
From: Luke B. <lb...@pa...> - 2008-07-10 15:09:49
|
Hey Ian, We haven't made the time to do this yet either. If you are interested in taking this on, we'd be happy to accept any patches you create. The AS3 version currently supports addAsync in both your test methods, and the setUp method. One issue that has come up for me, is that you can only call addAsync once inside of a test method and I've run into a couple of use cases where it would have been handy to chain those calls and halt execution until each callback in the chain was called. Essentially, if addAsync managed a queue of pending methods, that would be a great feature add. With that said, a straight back port would also be appreciated! Let me know if you have any questions. Thanks, Luke Bayes |
|
From: Laurent P. <lau...@ba...> - 2008-07-10 15:08:10
|
Hi ! I did not find time to work on this, unfortunately :/ (so yes, my 2.5 test cases do not handle async calls :() laurent 2008/7/10 Ian Tyrrell <Ia...@mo...>: > Hi Luke, Laurent, > > > > Did either of you pursue this any further? > > > > I'd be happy to help out with the port. > > > > Thanks, > > > > Ian Tyrrell > > ------------------------------------------------------------------------- > 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: Ian T. <Ia...@mo...> - 2008-07-10 14:02:45
|
Hi Luke, Laurent, Did either of you pursue this any further? I'd be happy to help out with the port. Thanks, Ian Tyrrell |
|
From: Luke B. <lb...@pa...> - 2008-06-23 16:16:08
|
Hey Laurent, No one has done this yet that I'm aware of. The biggest challenge in implementing this feature was getting the test cases themselves to execute asynchronously. We needed to build up a queue of test cases and wait until the current test notified us of it's completion before moving on to the next one. One issue with the current incarnation (even in AS3) that's been bothering me, is that we can only call addAsync one time in a method. It would be much better if addAsync could be called 'n' times and would pause execution until each of those handlers were triggered. Another feature to note, is that we got support for addAsync into the setUp method as well as regular test methods. This turned out to be really helpful too. Please let me know if you're interested in pursuing this and I'd be glad to walk you through the sources and how things work in there. It might actually make more sense to just take the AS3 build and literally back-port it syntactically rather than trying to merge features into the 2.5 branch. Thanks! Luke Bayes http://www.asunit.org |
|
From: Laurent P. <lau...@ba...> - 2008-06-23 15:41:14
|
Hi ! I'm running asunit25 unit tests under an mtasc scenario, developing a flash lite 2.x application (so AS3 is not available, even flash lite 3.0 is still AS2). I noticed that when my tests cases are using some sort of handler (some "delegate function"), the handler is never fired, I believe this happens because it is an asynchronous event. I've seen the addAsync helper method, from http://www.asserttrue.com/articles/2008/01/22/developing-visual-components-with-asunit, and I believe this would help me, however, it is AS3 only, and because of mtasc/flashlite, I have to use AS2. Did anyone backport addAsync to the 25 framework ? I've tried to backport it, but I don't fully understand the implementation. Thanks ! laurent |
|
From: Luke B. <lb...@pa...> - 2008-04-10 22:57:26
|
I'm afraid there isn't much in the way of info on that build these days. A big part of that early build had to do with integrating with Flash Authoring. We created a test output panel and some JSFL commands for class and test case creation. I would recommend trying to install the MXP and see if those features help you get going. Otherwise, Ali should be getting back from vacation this weekend and he might have some more info for you. He's definitly been into it more recently than I have (working on Flash lite junk). Overall, it should work similarly to the other builds, you may need to dig into the source a little to figure it out. lb. |
|
From: <pap...@ho...> - 2008-04-10 22:45:10
|
Hello! I' would like to use asunit(as2) to make unitary tests.I managed to make the as25 version work thanks to tutorials found(as25 and as3) on the internet. Could someone explain me how to make and run tests with the version as2. Thanks in advance. |