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 ]
Maulin Vasavada
Ranch Hand
Joined: Nov 04, 2001
Posts: 1865
posted
0
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
Thanks Maulin, Could you provide some sample code showing how you would do that?
Stan James
(instanceof Sidekick)
Ranch Hand
Joined: Jan 29, 2003
Posts: 8791
posted
0
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