As Harry reports, I had a fun discussion with Peter Provost and him on the subject of combining TDD and Modeling.  I was feeling pretty smug, thinking I'd just coined the term, and planning how to spend my enormous book advance from such a cool new buzzword, but had the smile wiped off when I did a bit of basic googling and came up with the following abstract from an IEEE paper...

Test-driven modeling for model-driven development
Yuefeng Zhang
Software, IEEE
Volume 21, Issue 5, Sept.-Oct. 2004 Page(s): 80 - 86
Digital Object Identifier   10.1109/MS.2004.1331307
Summary: A new software development process called test-driven modeling applies the Extreme Programming test-driven paradigm in a model-driven development environment. (The basis of this article is a project in Motorola's iDEN division that is extending and migrating a large legacy telecommunication system to new platforms using TDM.) This process involves automatic testing through simulation and using executable models as living software system architecture documents. In TDM, we use the same message sequence charts (MSCs) for both system analysis (or design documents) and unit test cases. Similarly, we use the same high-level modeling diagrams for both automatic code generation and living software architecture documents to guide the system's detailed implementation in later phases. Practical results show that developers can effectively apply TDM to large projects with high productivity and quality in terms of the number of code defects.

One aspect we never got around to thinking about was that maybe a TDD of a model included a simulator to help you decide which bit you should do next.  Mind you, depending how complex your deployment is, I'm not really sure where the boundary between model simulation and executable models lies.

Oh well, back to the millionaire-maker drawing-board.  Maybe a cross between dynamic languages and models...

Also had a fun time hanging out with Harry and Suhail and meeting Thomas Delrue from the DataDude team and some more Brits that were mates of Harry's at the party - back to the hotel drenched but happy.

Technorati Tags: , , ,