• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Scott Selikoff
Bartenders:
  • Piet Souris
  • Jj Roberts
  • fred rosenberger

help with JUnit

 
Ranch Hand
Posts: 134
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I need to understand how to make proper use of the JUnit framework ...

Can anyone suggest:
-Literature
-Resources
-Online Links/Tutorials

for a Greenhorn who has had little or nothing to do with this framework, and needs to understand the basics ?...(preferably with examples and illustrations)...

thanks in advance.

-W.O.
 
Sheriff
Posts: 11343
Mac Safari Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Here are some JUnit tutorial links which I found in the FAQ of our Testing forum.

I think that forum would be a better home for this question, so I'm moving this thread there.
 
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If you're new to unit testing in general as well as with JUnit, then this might be a pretty good match for what you're looking for.

All existing literature uses JUnit 3.8, though, so if you're using the latest version of JUnit (4.0), you might have to combine the book with Gunjan Doshi's excellent introduction to the changes in JUnit 4.0.
 
Ranch Hand
Posts: 308
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i quite like:

//basic stuff
JUnit in Action
//unit test patterns to apply
JUnit Recipes
 
Wolfgang Obi
Ranch Hand
Posts: 134
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hey all,...

thanks for the help.

PS: has anyone used the "JUnit Pocket Guide" published by O'Riley?
if so: would you recomend this book?

cheers

-W.O.
 
pie. tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic