File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Using test components/classes

 
Kevin Knowles
Ranch Hand
Posts: 45
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1873
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Kevin Knowles
Ranch Hand
Posts: 45
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Maulin,
Could you provide some sample code showing how you would do that?
 
Stan James
(instanceof Sidekick)
Ranch Hand
Posts: 8791
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic