Mark Needham answers & writes very well about the question, on What to Test?
OOP: Behavioural and Structural Constraints
He simple finds the definitions of functional and Behavioural constraints on the book
Advanced Object-Oriented Analysis and Design Using UML
Behavioural constraints limit the way object state changes may occur
Structural constraints limit the way objects associate with each other, that is, they restrict object state.
Two of his articles worth reading, and thinking on it..
http://www.markhneedham.com/blog/2009/09/02/tdd-test-the-behaviour-rather-than-implementation/
http://java.dzone.com/articles/oop-behavioural-and-structural?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed:+javalobby/frontpage+(Javalobby+/+Java+Zone)
No comments:
Post a Comment