aspose file tools*
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
Author

Java API testing

Gopi Chella
Ranch Hand

Joined: Apr 26, 2010
Posts: 53
Hello,

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
Sheriff

Joined: Oct 27, 2005
Posts: 19693
    
  20

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

I'll move this to our Testing forum.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30512
    
150

Gopi,
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.


[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
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.


[uaiHebert.com] [Full WebApplication JSF EJB JPA JAAS with source code to download] One Table Per SubClass [Web/JSF]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Java API testing