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: Darren C. <da...@dc...> - 2006-03-29 08:40:07
|
>>assertEquals should probably be extended to handle a few extra types (for >>ex, Array and XML). assertSame tests if the two arguments are the same >>object, while assertEquals is more concerned with the value. > > I agree. Instead of special code for XML, why not special code for all > objects that do not have an equals function defined? I've gone ahead and done this, for all types of objects. See the Assert.as file in the zip file attached to the other email I just sent. Warning: it is backwards-incompatible if you've used assertEquals to compare objects/arrays when you really intended to do what assertSame does. Apologies if "fix your code" sounds too harsh :-). Darren |
|
From: Darren C. <da...@dc...> - 2006-03-27 09:59:41
|
> assertEquals should probably be extended to handle a few extra types (for > ex, Array and XML). assertSame tests if the two arguments are the same > object, while assertEquals is more concerned with the value. I agree. Instead of special code for XML, why not special code for all objects that do not have an equals function defined? >>>assertEquals uses ===. What kind of difference it is seeing?! >> >>You have two different arrays; they aren't the same object, Thanks. I was confusing javascript and php. Darren |
|
From: Peter H. <pet...@gm...> - 2006-03-25 19:23:32
|
assertEquals should probably be extended to handle a few extra types (for
ex, Array and XML). assertSame tests if the two arguments are the same
object, while assertEquals is more concerned with the value.
Peter
On 3/25/06, Robert Penner <in...@ro...> wrote:
>
> > assertEquals uses =3D=3D=3D. What kind of difference it is seeing?!
>
> You have two different arrays; they aren't the same object, so =3D=3D or =
=3D=3D=3D
> will be false. AsUnit lets you define an equals() method to compare
> equality
> of objects.
>
> Robert
>
>
> -----Original Message-----
> From: asu...@li...
> [mailto:asu...@li...]On Behalf Of Darren
> Cook
> Sent: March 24, 2006 7:16 PM
> To: asu...@li...
> Subject: Re: [Asunit-users] Verbose assertEquals
>
>
>
> > How about an assertEqualsVerbose function that when it has a failure it
> > appends result and expected to the msg. ...
>
> I've done this, using the latest svn. Can I have svn write access (my SF
> username is darrencook)? Or let me know who I should send files to.
>
> I'm still having a problem using assertEquals with arrays. See the
> function [1] below. The first assert fails with:
> csv split of 'ex,why,zed' expected:<ex,why,zed> but was:<ex,why,zed>
>
> The other, more specific, tests all pass.
>
> assertEquals uses =3D=3D=3D. What kind of difference it is seeing?!
>
> Darren
>
>
> [1]
> public function testSplits(){
> var result:Array=3DString("ex,why,zed").split(",");
> var expected:Array=3D["ex","why","zed"];
> assertEquals("csv split of 'ex,why,zed'",result,expected);
> assertEquals("csv split of 'ex,why,zed':types",typeof result,typeof
> expected);
> assertEquals("csv split of
> 'ex,why,zed':lengths",result.length,expected.length);
> assertEquals("csv split of 'ex,why,zed':[0]",result[0],expected[0]);
> assertEquals("csv split of 'ex,why,zed':[1]",result[1],expected[1]);
> assertEquals("csv split of 'ex,why,zed':[2]",result[2],expected[2]);
> }
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by xPML, a groundbreaking scripting
> language
> that extends applications into web and mobile media. Attend the live
> webcast
> and join the prime developer group breaking into this new coding
> territory!
> http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D241720&dat=
=3D121642
> _______________________________________________
> Asunit-users mailing list
> Asu...@li...
> https://lists.sourceforge.net/lists/listinfo/asunit-users
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by xPML, a groundbreaking scripting
> language
> that extends applications into web and mobile media. Attend the live
> webcast
> and join the prime developer group breaking into this new coding
> territory!
> http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D241720&dat=
=3D121642
> _______________________________________________
> Asunit-users mailing list
> Asu...@li...
> https://lists.sourceforge.net/lists/listinfo/asunit-users
>
|
|
From: Robert P. <in...@ro...> - 2006-03-25 19:10:39
|
> assertEquals uses ===. What kind of difference it is seeing?!
You have two different arrays; they aren't the same object, so == or ===
will be false. AsUnit lets you define an equals() method to compare equality
of objects.
Robert
-----Original Message-----
From: asu...@li...
[mailto:asu...@li...]On Behalf Of Darren
Cook
Sent: March 24, 2006 7:16 PM
To: asu...@li...
Subject: Re: [Asunit-users] Verbose assertEquals
> How about an assertEqualsVerbose function that when it has a failure it
> appends result and expected to the msg. ...
I've done this, using the latest svn. Can I have svn write access (my SF
username is darrencook)? Or let me know who I should send files to.
I'm still having a problem using assertEquals with arrays. See the
function [1] below. The first assert fails with:
csv split of 'ex,why,zed' expected:<ex,why,zed> but was:<ex,why,zed>
The other, more specific, tests all pass.
assertEquals uses ===. What kind of difference it is seeing?!
Darren
[1]
public function testSplits(){
var result:Array=String("ex,why,zed").split(",");
var expected:Array=["ex","why","zed"];
assertEquals("csv split of 'ex,why,zed'",result,expected);
assertEquals("csv split of 'ex,why,zed':types",typeof result,typeof
expected);
assertEquals("csv split of
'ex,why,zed':lengths",result.length,expected.length);
assertEquals("csv split of 'ex,why,zed':[0]",result[0],expected[0]);
assertEquals("csv split of 'ex,why,zed':[1]",result[1],expected[1]);
assertEquals("csv split of 'ex,why,zed':[2]",result[2],expected[2]);
}
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Asunit-users mailing list
Asu...@li...
https://lists.sourceforge.net/lists/listinfo/asunit-users
|
|
From: Darren C. <da...@dc...> - 2006-03-25 03:16:50
|
> How about an assertEqualsVerbose function that when it has a failure it
> appends result and expected to the msg. ...
I've done this, using the latest svn. Can I have svn write access (my SF
username is darrencook)? Or let me know who I should send files to.
I'm still having a problem using assertEquals with arrays. See the
function [1] below. The first assert fails with:
csv split of 'ex,why,zed' expected:<ex,why,zed> but was:<ex,why,zed>
The other, more specific, tests all pass.
assertEquals uses ===. What kind of difference it is seeing?!
Darren
[1]
public function testSplits(){
var result:Array=String("ex,why,zed").split(",");
var expected:Array=["ex","why","zed"];
assertEquals("csv split of 'ex,why,zed'",result,expected);
assertEquals("csv split of 'ex,why,zed':types",typeof result,typeof
expected);
assertEquals("csv split of
'ex,why,zed':lengths",result.length,expected.length);
assertEquals("csv split of 'ex,why,zed':[0]",result[0],expected[0]);
assertEquals("csv split of 'ex,why,zed':[1]",result[1],expected[1]);
assertEquals("csv split of 'ex,why,zed':[2]",result[2],expected[2]);
}
|
|
From: Darren C. <da...@dc...> - 2006-03-22 08:08:36
|
> AsUnit 3 formats the message to include the actual and expected. It should > be ported to AsUnit 2.5. Thanks for the tip. I just skimmed the as3 code and the format() function (and the three failXXX() functions) should be easy to backport to as2. I'll volunteer to do that tomorrow unless somebody gives a reason not to. Darren |
|
From: Robert P. <in...@ro...> - 2006-03-22 05:58:31
|
AsUnit 3 formats the message to include the actual and expected. It should
be ported to AsUnit 2.5.
Robert
-----Original Message-----
From: asu...@li...
[mailto:asu...@li...]On Behalf Of Darren
Cook
Sent: March 21, 2006 9:29 PM
To: asunit-users
Subject: [Asunit-users] Verbose assertEquals
I have this simple test [1] and when it fails I want to see why, but all
I get is success=false [2].
How about an assertEqualsVerbose function that when it has a failure it
appends result and expected to the msg. So replace the code in [3] with [4].
Or even better than adding a new function add a public static var
verboseAsserts:Boolean to the Assert class.
The alternative seems to be firing up a debugger or adding trace
statements to my unit test code.
Any opinions?
Darren
[1]:
var x:Something=new Something;
var result:Array=x.split_by_comma("ex,why,zed");
var expected:Array=["ex","why","zed"];
assertEquals("csv split of 'ex,why,zed'",result,expected);
[2]:
success : false
output : F
assertion : assertEquals
message : csv split of 1,2
methodName : testSplits
className : SomethingTests
[3]:
addTestResult(String(msg), "assertEquals", assertion1 === assertion2);
[4]:
if(assertion1 === assertion2)
addTestResult(String(msg),"assertEquals",true);
else
addTestResult(
String(msg)+":"+assertion1+":"+assertion2,
"assertEquals",false);
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Asunit-users mailing list
Asu...@li...
https://lists.sourceforge.net/lists/listinfo/asunit-users
|
|
From: Darren C. <da...@dc...> - 2006-03-22 05:29:16
|
I have this simple test [1] and when it fails I want to see why, but all
I get is success=false [2].
How about an assertEqualsVerbose function that when it has a failure it
appends result and expected to the msg. So replace the code in [3] with [4].
Or even better than adding a new function add a public static var
verboseAsserts:Boolean to the Assert class.
The alternative seems to be firing up a debugger or adding trace
statements to my unit test code.
Any opinions?
Darren
[1]:
var x:Something=new Something;
var result:Array=x.split_by_comma("ex,why,zed");
var expected:Array=["ex","why","zed"];
assertEquals("csv split of 'ex,why,zed'",result,expected);
[2]:
success : false
output : F
assertion : assertEquals
message : csv split of 1,2
methodName : testSplits
className : SomethingTests
[3]:
addTestResult(String(msg), "assertEquals", assertion1 === assertion2);
[4]:
if(assertion1 === assertion2)
addTestResult(String(msg),"assertEquals",true);
else
addTestResult(
String(msg)+":"+assertion1+":"+assertion2,
"assertEquals",false);
|
|
From: Darren C. <da...@dc...> - 2006-03-22 05:17:31
|
>>The file in question is located in
>>framework/as2/com/asunit/framework/TestRunner.as
>> ...
> For proof-of-concept I'll try just replacing that whole file.
> ...
> I'm willing to work on an XML sockets version, with a PHP back-end.
I have a working proof-of-concept now, so unless someone is already
working on this I'll go ahead and do it properly. This will just be in
the as2 branch (I need Flash 6 support so haven't looked at as25/as3).
My proposed changes:
1. Split TestRunner into TestRunner and TestRunnerLocalConnection.
(I.e. TestRunner will become an abstract base class)
2. Add TestRunnerXMLSocket as an alternative
3. In Assert.as's getTestRunner() decide what type of object to return.
We need a way to tell Assert which TestRunner to use.
TestRunnerLocalConnection needs no parameters, but XMLSocket needs an IP
and port. By idea is to define these vars in Assert:
public static TestRunnerType:String="LocalConnection";
public static TestRunnerParameters:String=null;
So by default it will work the way it does currently, and to use an
XMLSocket I'd write this code:
Assert.TestRunnerType="XMLSocket";
Assert.TestRunnerParameters="127.0.0.1:9123";
Any opinions?
Darren
|
|
From: Thye Y. B. <thy...@ho...> - 2006-03-10 20:29:25
|
Sweet! Thanks! I am going to download it now =) >From: "Luke Bayes" <lb...@gm...> >Reply-To: asu...@li... >To: asunit-users <asu...@li...> >Subject: [Asunit-users] New Framework released with XUL UI and the >Framework.zip >Date: Fri, 10 Mar 2006 01:51:45 -0800 > >Hey Folks, > >We just released a new completely rebuilt version of the framework with the >latest XUL UI and Framework.zip downloads. > >Please check out our new blog for more info: > >http://www.asserttrue.com/ > >As usual, please fire a message to this list if you discover any issues or >have any questions. > > >Thanks, > > >Luke Bayes >www.asunit.org _________________________________________________________________ Download MSN Messenger emoticons and display pictures. http://ilovemessenger.msn.com/?mkt=en-sg |
|
From: Luke B. <lb...@gm...> - 2006-03-10 09:51:50
|
Hey Folks, We just released a new completely rebuilt version of the framework with the latest XUL UI and Framework.zip downloads. Please check out our new blog for more info: http://www.asserttrue.com/ As usual, please fire a message to this list if you discover any issues or have any questions. Thanks, Luke Bayes www.asunit.org |
|
From: sam / p. <sa...@pi...> - 2006-03-08 19:20:23
|
Worked great for me. - sam Ali Mills wrote: > Some of you reported getting the error, "This application has failed > to start because cygwin1.dll was not found. Re-installing the > application may fix this problem.". It looks like we've fixed this > issue. The first time around Luke and I created AsUnit.exe with > Cygwin's gcc. This seemed to add a Cygwin DLL dependency. A couple > days ago we rewrote and recreated it with Visual Studio, and it seems > to run just fine. > > You can grab the latest build by pulling the XUL UI from > http://www.asunit.org/#getStarted. Please let me know if your still > having problems with this new build. > > Many thanks to Bok Thye Yeow for preliminary testing. > > > Ali > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd_______________________________________________ > Asunit-users mailing list > Asu...@li... > https://lists.sourceforge.net/lists/listinfo/asunit-users > > |
|
From: Ali M. <ali...@gm...> - 2006-03-08 18:50:52
|
Some of you reported getting the error, "This application has failed to start because cygwin1.dll was not found. Re-installing the application may fix this problem.". It looks like we've fixed this issue. The first time around Luke and I created AsUnit.exe with Cygwin's gcc. This seemed to add a Cygwin DLL dependency. A couple days ago we rewrote and recreated it with Visual Studio, and it seems to run just fine. You can grab the latest build by pulling the XUL UI from http://www.asunit.org/#getStarted. Please let me know if your still having problems with this new build. Many thanks to Bok Thye Yeow for preliminary testing. Ali |
|
From: Luke B. <lb...@gm...> - 2006-03-07 18:03:30
|
Hey David, Thanks for the offer! I think we actually need the installer *and* an executable. Ali says he sent you a cpp that should still be valid... It would be ideal if the installer includes the .svn files so that users could just execute "svn update" to get more current versions... We're working to get that into the win installer. Thanks, Luke Bayes www.asunit.org |
|
From: David D. <pri...@gm...> - 2006-03-07 13:29:16
|
Thank you for this. It's taken me a day to get my head together and sleep off the jetlag, but I should be able to play around with this a little later today. Also is there still a need for the XUL installer package for Mac? I can probably put one together today as well. |
|
From: Luke B. <lb...@gm...> - 2006-03-07 02:13:05
|
Hey Peter, That comment is my mistake! We left the JUnit comments in the source code without really editing them! Stoopid! Thanks for finding that stuff - if you're in there and feel like editing those out, please just send me the sources and/or a patch file. Thanks Johannes - I'll take a look. Luke |
|
From: Johannes N. <joh...@gm...> - 2006-03-07 02:09:18
|
aah, the tar was to big you will find it here: xperiments.lennel.org/asunit.tar ---------- Forwarded message ---------- From: Johannes Nel <joh...@gm...> Date: Mar 6, 2006 8:59 PM Subject: Re: [Asunit-users] AsUnit 3 - add test methods manually? To: asu...@li... ok. peters fix for the stage bug http://www.lennel.org/xperiments/typed-array/srcview/asunit/textui/ResultPr= inter.as.html i also attach the source i use for as3 testing. this includes the stage fix= . i have not done any async testing yet nor have i been able to properly test my mxml stuff apart from the most basic stuff. (visual testing is a big black hole at this point for me, so anybody who has any ideas regarding thi= s please step forward). -- j:pn http://www.lennel.org |
|
From: Robert P. <in...@ro...> - 2006-03-07 01:09:53
|
Ok, great. I was thrown off by the documentation in TestCase.as,
particularly the last code example. Neither of the two options described
(static and dynamic) seem to correspond to what we're talking about.
* Once the methods are defined you can run them. The framework supports
* both a static type safe and more dynamic way to run a test.
* In the static way you override the runTest method and define the method
to
* be invoked. A convenient way to do so is with an anonymous inner class.
* <pre>
* TestCase test= new MathTest("add") {
* public void runTest() {
* testAdd();
* }
* };
* test.run();
* </pre>
* The dynamic way uses reflection to implement <code>runTest</code>. It
dynamically finds
* and invokes a method.
* In this case the name of the test case has to correspond to the test
method
* to be run.
* <pre>
* TestCase= new MathTest("testAdd");
* test.run();
* </pre>
* The tests to be run can be collected into a TestSuite. JUnit provides
* different <i>test runners</i> which can run a test suite and collect the
results.
* A test runner either expects a static method <code>suite</code> as the
entry
* point to get a test to run or it will extract the suite automatically.
* <pre>
* public static Test suite() {
* suite.addTest(new MathTest("testAdd"));
* suite.addTest(new MathTest("testDivideByZero"));
* return suite;
* }
* </pre>
Robert
-----Original Message-----
From: asu...@li...
[mailto:asu...@li...]On Behalf Of Luke Bayes
Sent: March 6, 2006 4:53 PM
To: asu...@li...
Subject: Re: [Asunit-users] AsUnit 3 - add test methods manually?
Yep -
All methods that begin with "test*" should be executed in AS 3 too.
Just to clarify the missing-stage bug, the issue appears when you run
AsUnit for AS 3.0 with an MXML project. Peter was hoping this issue would be
resolved in a future release so he asked us not to put the fix into the
sources, but I'm thinking maybe we ought to put it in after all...
Regarding other bug fixes, I *think* we have the as3 branch all updated
Johannes, could you please verify?
Thanks,
Luke Bayes
www.asunit.org
|
|
From: Luke B. <lb...@gm...> - 2006-03-07 00:53:17
|
Yep - All methods that begin with "test*" should be executed in AS 3 too. Just to clarify the missing-stage bug, the issue appears when you run AsUni= t for AS 3.0 with an MXML project. Peter was hoping this issue would be resolved in a future release so he asked us not to put the fix into the sources, but I'm thinking maybe we ought to put it in after all... Regarding other bug fixes, I *think* we have the as3 branch all updated Johannes, could you please verify? Thanks, Luke Bayes www.asunit.org |
|
From: Johannes N. <joh...@gm...> - 2006-03-07 00:26:12
|
yes it is. anything that starts with test will do the trick. i don't know i= f luke has updated the source, but i posted some bug fixes for the as3 unit tests on this list. i have also created templates for the as3 unit tests which you can find here http://www.lennel.org/blog/2006/02/27/building-unit-tests-in-eclipse-from-a= n-ant-script-for-asunit/towards the bottom if the post. if you are using the asunit 3 stuff with flex 2 there is also a bug to whatch out for relating to when the stage object is availible which either myself or peter hall posted about on this list. On 3/6/06, Robert Penner <in...@ro...> wrote: > > In AsUnit 2, all methods starting with "test" were run automatically. Is > this the case in version 3? The examples and docs I've read so far imply > we > have to write an extra line of code to add each test method. > > Robert > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D241720&dat= =3D121642 > _______________________________________________ > Asunit-users mailing list > Asu...@li... > https://lists.sourceforge.net/lists/listinfo/asunit-users > -- j:pn http://www.lennel.org |
|
From: Robert P. <in...@ro...> - 2006-03-07 00:21:26
|
In AsUnit 2, all methods starting with "test" were run automatically. Is this the case in version 3? The examples and docs I've read so far imply we have to write an extra line of code to add each test method. Robert |
|
From: Luke B. <lb...@gm...> - 2006-03-06 05:46:04
|
Hey Darren, Thanks for checking into this. Answers inline below: http://svn.sourceforge.net/viewcvs.cgi/asunit/trunk/framework/as2/com/asuni= t/framework/TestRunner.as?view=3Dmarkup&rev=3D2 > > I think the renderTests(arr:Array) function should be changed to > renderTests(Void), and then change: > lc["addTests"](arr); > tests =3D new Array(); > to read: > lc["addTests"](tests); > tests =3D new Array(); > > The reason is simply that this.tests gets reset so passing in anything > other than this.tests is dangerous. Good point. Thanks! While there I think renderTests() and getLocalConn() can be changed from > public to private: no other classes seem to call them. This seems correct to me too. addSuccess() and addFailure() don't seem to be called from anywhere at > all. What are they for, and do they need to be part of the public > interface? I believe these methods can actually be removed. They represented an early design that didn't make it into the final build. Overall - nice finds! I'll update the source in svn right now with these changes. Luke Bayes www.asunit.org |
|
From: Luke B. <lb...@gm...> - 2006-03-06 05:38:07
|
Thanks Cristobal, Got it taken care of. Not sure exactly what made it disappear, but it shoul= d be working now. We should be getting another build out sometime this week with some of the fixes that I got in over the weekend. Thanks for the heads up! Luke Bayes www.asunit.org |
|
From: Darren C. <da...@dc...> - 2006-03-06 05:17:57
|
Hi Luke, Thanks for the reply. > The file in question is located in > framework/as2/com/asunit/framework/TestRunner.as > > The TestRunner.push method is called from framework/Assert.as inside of > addTestResult, which is called from the body of every Assert method (like > assertTrue). OK, I see. Yes, it looks like the change should be quite straightforward. For proof-of-concept I'll try just replacing that whole file. (See P.S. for comments/questions on existing code.) > Ideally, you should be able to extend a base class "TestRunner", and then > users could choose where to send output... The File System, Local > Connection, Trace, an XML Socket, SMS, Email, etc... Yes. > My understanding is that there are at least 4 or 5 people interested in this > feature and at least 3 of them seem to be working on it right now. > > Can I get a roll call for those of you that are in fact interested in > getting the AS 2.0 build to support multiple test runners? > > Of those of you that raised your hands how many have already implemented it? > Or are willing to get it implemented? I'm willing to work on an XML sockets version, with a PHP back-end. Darren P.S. http://svn.sourceforge.net/viewcvs.cgi/asunit/trunk/framework/as2/com/asunit/framework/TestRunner.as?view=markup&rev=2 I think the renderTests(arr:Array) function should be changed to renderTests(Void), and then change: lc["addTests"](arr); tests = new Array(); to read: lc["addTests"](tests); tests = new Array(); The reason is simply that this.tests gets reset so passing in anything other than this.tests is dangerous. While there I think renderTests() and getLocalConn() can be changed from public to private: no other classes seem to call them. addSuccess() and addFailure() don't seem to be called from anywhere at all. What are they for, and do they need to be part of the public interface? |
|
From: cristobal b. <cb...@ya...> - 2006-03-06 02:04:52
|
When trying to d/l the XUL interface, I get a 404 on this url - http://asunit.org/files/releases/XULUI-20060302.msi thanks - cris. |