File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Testing and the fly likes Java API testing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Testing
Bookmark "Java API testing" Watch "Java API testing" New topic

Java API testing

Gopi Chella
Ranch Hand

Joined: Apr 26, 2010
Posts: 53

I am involving on backend Java API testing(Webservice Testing also) and i am new to Java API testing. I want to know is there any Tutorial or book or Website which is very advanced to explain about breaking Java code or Explaining tricks about Java API testing.

I appreciate your help in advance and Please give your valuable inputs here

Thanks, Gopi

SCJP 1.5
Gopi Chella
Ranch Hand

Joined: Apr 26, 2010
Posts: 53
No reply
Rob Spoor

Joined: Oct 27, 2005
Posts: 20274

PatienceIsAVirtue. No bumping threads until a day since the last post.

I'll move this to our Testing forum.

How To Ask Questions How To Answer Questions
Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 33117

In general, assume it will take up to 24 hours before most people have seen your post. Also note that yesterday and today were a holiday in the United States so many people have been offline.

On to your question, I recommend "Test Driven" (written by one of the moderators here) or "JUnit in Action" (second edition if you want to buy the electronic version - the print version is a few months out.) I've read both - well the first edition of the later - and they are both excellent when it comes to techniques and patterns.

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
Gopi Chella
Ranch Hand

Joined: Apr 26, 2010
Posts: 53
Thanks a lot Jaenne........
Hebert Coelho
Ranch Hand

Joined: Jul 14, 2010
Posts: 754

I was readding "TDD by Kent Beck" and he says that is not a good idea to test framework that you are using ( I mean those that are not made by you or your company).

He says that there is no reason to test like "Integer.toString()". It would be a waste of time. You have to worry about your software. If you have a webservice, make tests that will work with that parameter. Not the test with "request.getParameter()".

Read this book, is very good.

[] [Full WebApplication JSF EJB JPA JAAS with source code to download] One Table Per SubClass [Web/JSF]
I agree. Here's the link:
subject: Java API testing
It's not a secret anymore!