This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Testing and the fly likes Nice tutorial in junit 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 » Engineering » Testing
Bookmark "Nice tutorial in junit" Watch "Nice tutorial in junit" New topic

Nice tutorial in junit

jammy chen

Joined: Aug 24, 2009
Posts: 25
I have just make some plan to learn Junit and Ant, I have google some Junit tutrial and I want more especially in junit 4. Is everybody have? another question is Junit and TestNG which is best?

Java tutorial
David Newton

Joined: Sep 29, 2008
Posts: 12617

Did you look on the JUnit site?

I prefer TestNG. "Better" is subjective, and may depend on several factors, not all of which may be technical.
Jeanne Boyarsky
internet detective

Joined: May 26, 2003
Posts: 30068

And I prefer JUnit. I agree that "better" is subjective.

[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
I agree. Here's the link:
subject: Nice tutorial in junit
Similar Threads
JUnit for MultiThreaded Applications
hibernate MappingException: duplicate import
Testing private method
Ant 1.7 + Junit 4 problems
JUnit for SCJD