This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
If you are given as part of a project assignment, test components (or classes?) say as an example "AllTests.java" and others, how would you incorporate these components into the design? [ June 25, 2003: Message edited by: Kevin Knowles ] [ June 25, 2003: Message edited by: Kevin Knowles ]
hi kevin i'd probably create a package "testModule" and then relate with other packages as "performs test on/for" relationship. is that what u were asking (the design in sort of class relationship or something)? regards maulin
Joined: Dec 29, 2002
Thanks Maulin, Could you provide some sample code showing how you would do that?
You were given complete test classes? Do they mention JUnit in imports and extends? That's a very widely used framework to build test stuff, and many people make an AllTests thingie to run all their tests. If so, see http://www.JUnit.org for an overview and let us know if you need help getting installed and going. If you're not dealing with JUnit, fill us in a bit more on what you have been given and what you have to do.
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi