This post originated from an RSS feed registered with Agile Buzz
by James Robertson.
Original Post: StS 2007 Daily: Validation with SUnit
Feed Title: Cincom Smalltalk Blog - Smalltalk with Rants
Feed URL: http://www.cincomsmalltalk.com/rssBlog/rssBlogView.xml
Feed Description: James Robertson comments on Cincom Smalltalk, the Smalltalk development community, and IT trends and issues in general.
SUnit Validation was originally conceived by Andres Valloud as a framework for instantaneous feedback on data consistency in the GUI. The framework brilliantly solves the classical problem of handling user inputs in the event that they do not make sense in the model. As envisioned initially, validators factor out repetitive checks that are usually found in the presentation layer. However, the experience has shown that validators are extremely helpful in identifying and solving a wide range of problems. The talk will summarize the experience of introducing heavy validations in a simulation system that has been successful for more than ten years in the Petroleum Industry. That includes new uses of the framework for the GUI, and applications to other areas as model diagnosis, validation of data imported from (and linked to) external sources, version upgrading, naming services, object deletion, SUnit testing, debugging support and automatic source code QA.