Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
<a href="http://www-306.ibm.com/software/rational/bios/ambler.html" target="_blank" rel="nofollow">Scott W. Ambler</a><br />Practice Leader Agile Development, IBM Rational<br /> <br />Now available: <a href="http://www.ambysoft.com/books/refactoringDatabases.html" target="_blank" rel="nofollow">Refactoring Databases: Evolutionary Database Design</a>
Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
<i>The lyf so short, the craft so long to lerne.</i> --Geoffrey Chaucer (c. 1343-1400)
Originally posted by Allan Halme:
It's our UML model that drives our implementation and refactorings, that is holding everything together, and that forms the common language among the development team.
Thus, we are using MDA.
(This is not a joke.)
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Originally posted by Ilja Preuss:
So you are modeling using language neutral UML diagrams, which then automatically code is generated from using some template mechanism? How do you do this using TDD?
Originally posted by Allan Halme:
Like Lasse said, we're not generating anything (apart from occasionally forward-generating class skeletons for new classes from Rose).
We do actually have a tool that we've built on top of AndroMDA which takes a domain model class diagram (as an XMI file) and generates from that a full set of stateless session beans and entity beans using a set of templates that defines a custom pattern of ours. The structure of the pattern itself is another issue, but the point is that a significant part of the implementation is automatically generated. This code, naturally, has no and needs no unit tests.
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
We've gotta get close enough to that helmet to pull the choke on it's engine and flood his mind! Or, we could just read this tiny ad:
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth
https://coderanch.com/t/751654/free-earth-friendly-heat-kickstarter
|