This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Creating Test Classes/Cases

 
Chuck Mondi
Ranch Hand
Posts: 31
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can anyone provide information (links, books, etc) that would have valuable information on how to develop tests for your Java code? In reading Head First Java I recall them talking about testing code, really writing your tests first, then your classes and such, but it really isn't illustrated. What defines a good test for your Java code? Any help is appreciated. Thanks.
 
John de Michele
Rancher
Posts: 600
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JUnit can be found at junit.org.

John.
 
Garrett Rowe
Ranch Hand
Posts: 1296
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JavaRanch also has a Testing forum where you can ask specific questions about testing Java code.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic