So, LL, going to start unit testing anytime soon?
|
|
Logan Bauer
Inept Adept
Join date: 13 Jun 2004
Posts: 2,237
|
11-03-2005 10:46
Wow. Ouch... That's just silly. Are we sure that LL isn't involved with or subsidized by the government, that's the only way I can understand that sort of backassedness. I'm surprised we haven't seen MORE problems, sheesh.
And, most importantly, Eggy, can I have an amalgamated name too?
|
|
Cocoanut Koala
Coco's Cottages
Join date: 7 Feb 2005
Posts: 7,903
|
11-03-2005 13:59
From: Eggy Lippmann Icky is fine by me! Kritter calls me "oeuf"... I find it rather endearing CoKo == Co(coanut) Ko(ala) I'm sorry if you think I'm making fun of you or something... I don't mean anything by it. I often call Catherine Cotton "CatCot", and Kris Ritter "Kritter"... but HEY if you really hate it I will try to keep that in mind when I need to say your name  I love "oeuf"!! I have to control myself from stealing it to use for you myself. Ok, I get the contraction now. I thought it was K like something political, or something. Carry on, then, Eggy! coco P.S. Surely we are just misunderstanding something in all this testing thing. It would be nuts to throw everything in, then try, later, to figure out which of all of everything is causing some problem.
|
|
Icon Serpentine
punk in drublic
Join date: 13 Nov 2003
Posts: 858
|
11-03-2005 21:35
Okay -- let's put this straight --
unit testing compiled (C, Java, etc) code would be a gloriously mind-numbing and SLOW process.
unit testing is more appropriate in dynamic high-level languages like Ruby, Python, et al.
Considering most of SL's functional code I'm betting isn't written in Python -- it's obvious they wouldn't do a lot of unit testing. There are other ways to manage and test compiled applications. Like version control systems for example.
If there are more perceived bugs or performance degredation -- it's not just because they don't unit test. If they did, you wouldn't see as rapid a release cycle as LL has been keeping up. If you want to see maybe a year or more between versions, then by all means encourage it and see if LL responds. Otherwise, lets accept it and find more productive and creative ways to solve our problems than pointing our fingers at the black obelisk.
_____________________
If you are awesome!
|
|
blaze Spinnaker
1/2 Serious
Join date: 12 Aug 2004
Posts: 5,898
|
11-03-2005 21:46
The only person I ever fired was because they wouldn't unit test.
Do you know how freaking frustrating it is developing with someone elses code when it hasn't been unit tested?
|
|
Ben Bacon
Registered User
Join date: 14 Jul 2005
Posts: 809
|
11-04-2005 02:01
some have asked if they're missing something. the answer is yes - a little bit. LL not unit testing does not mean that they do not test at all. Unit testing is automated testing done around each "modular piece" of an application. What size piece you call a unit varies from company to company, language to language, project to project. In C++ (in which my unit tests run faster than my colleague's JAVA projects, Icon  ) I can choose between small libraries, .CPP files, or indivisual classes, for example. You eventually just get a feel for the right size  Some people write a unit test for each unit, before even writing the unit itself. Programming is sometimes like art, you gotta know when to stop. Well as soon as your unit passes its tests completely - you're finished. (A well-designed unit test is about the best spec a developer can be given) BUT - the main focus of unit tests in the context of this discussion is that whenever a devloper makes any changes to a unit - they are required to run the unit through its specific unit test and ensure that it passes completely before they throw the changes back into the main system. This basically lets a developer know that while he was fixing this little bit over here - he ended up breaking that little bit over there. All before he even hands the new code over to the human testers. In a (simplified) nutshell - there should only ever be bugs in new features. Exisiting features should never be broken by the addition of new stuff. OK - just hit the size of my hand - here endeth the lesson
|
|
Kami Harbinger
Transhuman Lifeform
Join date: 4 Oct 2005
Posts: 94
|
11-04-2005 05:15
From: Icon Serpentine Okay -- let's put this straight -- unit testing compiled (C, Java, etc) code would be a gloriously mind-numbing and SLOW process. Ah, no. Not even remotely. Essentially all modern Java code is unit tested with JUnit http://junit.org/, every Java IDE has built-in JUnit testing support so you can see green-bar when tests pass or red-bar when tests fail, and Ant, the standard Java build tool, has JUnit integrated. Yes, writing Java code is what I do for a living. C and C++ use CUnit (unfortunate name that it is) and CPPUnit, and have nearly as good tool support. I also write a lot of Python code, and there is no overall difference in how easy or hard it is to test; doctest is convenient, but dynamically-typed languages require two or more times as much testing because the compiler can't catch any errors for you. Unit testing feels good and makes better software. It is absolutely shameful to write code without it.
_____________________
http://kamiharbinger.com/From: someone Gray Loading, Loading texture gray. Gray gray texture with outline white? Outline loading white gray texture outline. Texture white outline loading with gray, white loading gray outline texture gray white. Gray texture loading loading texture with. Texture loading gray! With white outline, Gray Texture -Beatfox Xevious
|
|
Icon Serpentine
punk in drublic
Join date: 13 Nov 2003
Posts: 858
|
11-04-2005 19:18
I know what unit testing is, but I stand corrected.
I've never worked professionally in C/Java projects yet. Therefore I just assumed that the compile, test, rewrite, recompile process would be a pain to production. I used to do lots of PERL, then python/php, and now I'm trying to break into Ruby. Unit testing in those languages in my experience is rather simple do to their dynamic nature. More complex I suppose, but they are interpreted so it's not difficult to catch errors.
Thanks for the info guys -- btw
_____________________
If you are awesome!
|
|
blaze Spinnaker
1/2 Serious
Join date: 12 Aug 2004
Posts: 5,898
|
11-04-2005 19:42
From: Kami Harbinger Ah, no. Not even remotely. Essentially all modern Java code is unit tested with JUnit http://junit.org/, every Java IDE has built-in JUnit testing support so you can see green-bar when tests pass or red-bar when tests fail, and Ant, the standard Java build tool, has JUnit integrated. Yes, writing Java code is what I do for a living. C and C++ use CUnit (unfortunate name that it is) and CPPUnit, and have nearly as good tool support. I also write a lot of Python code, and there is no overall difference in how easy or hard it is to test; doctest is convenient, but dynamically-typed languages require two or more times as much testing because the compiler can't catch any errors for you. Unit testing feels good and makes better software. It is absolutely shameful to write code without it. Well said.
|
|
Kofi Unknown
Registered User
Join date: 14 Nov 2005
Posts: 1
|
Vote for change!
07-13-2006 11:42
I just proposed "Prop: 1629 - LSL Unit Testing Framework" at http://secondlife.com/vote/Please go there and vote for it.
|
|
FlipperPA Peregrine
Magically Delicious!
Join date: 14 Nov 2003
Posts: 3,703
|
07-13-2006 11:56
I miss blaze... and Eggy, don't call me Flypaper!
_____________________
Peregrine Salon: www.PeregrineSalon.com - my consulting company Second Blogger: www.SecondBlogger.com - free, fully integrated Second Life blogging for all avatars!
|
|
Phoenix Psaltery
Ninja Wizard
Join date: 25 Feb 2005
Posts: 2,599
|
07-13-2006 12:05
*cough*
Necroposter. P2
|
|
Zepp Zaftig
Unregistered Abuser
Join date: 20 Mar 2005
Posts: 470
|
07-13-2006 13:23
From: FlipperPA Peregrine I miss blaze... and Eggy, don't call me Flypaper! Flypaper
|