This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Testing a java program Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Testing a java program" Watch "Testing a java program" New topic
Author

Testing a java program

Jag Sharma
Greenhorn

Joined: Nov 09, 2001
Posts: 10
Is it better to test a class using the main() in the class itself
OR
Is it better to test using a separate test class?
William Barnes
Ranch Hand

Joined: Mar 16, 2001
Posts: 986

It is better to test than to not test.
Everything else is style.


Please ignore post, I have no idea what I am talking about.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Testing a java program