Mark Watson's Blog
I am the author of 13 published computer books and a consultant specializing in Java, C++, and Smalltalk development. Please check out my two Free Web Books at my main site www.markwatson.com

 



Subscribe to "Mark Watson's Blog" in Radio UserLand.

Click to see the XML version of this web page.

Click here to send an email to the editor of this weblog.

 

 

  Friday, August 1, 2003


'test-first' software development

I am always interested in techniques for designing and implementing software.

For all but the smallest projects, I like to start out with some "light weight" UML design - specifically, I find use case diagrams and sequence diagrams to be well worth the effort to produce and keep up to date during development.

'Test-first' development is getting more popular, and I think that this approach works well with producting UML use case diagrams: go directly from use case analysis to specifying tests that the software must pass (implemented in JUnit for Java, SUnit for Smalltalk, etc.)

Note: as my collegue David Young recently pointed out: sequence diagrams are a great visualization tool for spotting possible points of failure in a system - so, they too are useful in moving directly into writing test cases.
10:11:43 AM    



Click here to visit the Radio UserLand website. © Copyright 2003 Mark Watson.
Last update: 9/14/03; 9:52:15 AM.

August 2003
Sun Mon Tue Wed Thu Fri Sat
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31            
Jul   Sep