| | 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
- recommend
    - recs0
- share
- email
 - sent0
Give eProps or Post a Comment |