wood burning stoves 2.0*
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 Murach's Java Servlets and JSP this week in the Servlets 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: 984

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
 
Similar Threads
java IOEXCEPTION:too many open files
testing interface
Junit on Web
Inner static class as test harness
Tag library