aspose file tools*
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
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.
 
 
subject: Testing a java program