PlumJournals
About this Entry
Posted by: c_plum

Visit c_plum's Xanga Site

Original: 4/6/2006 2:32 AM
Views: 15
Comments: 0
eProps: 0

Read Comments
Post a Comment
Back to Your Xanga Site


Thursday, April 06, 2006

I think "Stuff that lets agile software developers show off what they believe in..."

 

DTSTTCPW

Do The Simplest Thing That Could Possibly Work

Ref: http://xp.c2.com/DoTheSimplestThingThatCouldPossiblyWork.html

Implement a new capability in the simplest way you can think of that "could possibly work". Make the code pass the UnitTests for the new feature (and all features, as always). Follow the rule of OnceAndOnlyOnce and the other code quality rules to make the system as clean as it can possibly be. With each increment of an IterativeDevelopment one should do the simplest thing that could possibly work. To do this, you have to know at least two ways to do the thing. That way, you can at least pick the simpler, if not the simplest. You need to be pretty sure it will work, but you don't have to prove it. Why? Because when you try to implement it, your implementation will tell you whether it does work. Your tests will run, or they won't. It will feel good, or it won't.

 

JsUnit

Ref: http://www.edwardh.com/jsunit/

        http://sourceforge.net/projects/jsunit

JsUnit is a Unit Testing framework for client-side (in-browser) JavaScript. It is essentially a port of JUnit to JavaScript. Also included is a platform for automating the execution of tests on multiple browsers and multiple machines running different OSs.

 Posted 4/6/2006 2:32 AM - 15 Views - 0 eProps - 0 comments

Give eProps or Post a Comment

Choose Identity
(?)
 
Give eProps (?)
Post a Comment
Add Link | Preview HTML comment help 
Profile Pic:
Default  |  Choose »  (?)



Back to c_plum's Xanga Site!
Note: your comment will appear in c_plum's local time zone:
GMT -12:00 (International Date Line West)