How to do unit test on java?Is there any automate process avilable?

Questions by rajkumar

Showing Answers 1 - 18 of 18 Answers

Kalpana Naidu

  • Oct 4th, 2005
 

Unit test is mostly done by developers, because, unit test requires the knowledge of internal logic of application code, as testers are not aware of code, so unit testing is not done by testers.

Unit testing is done by developer to make sure that his/her code does the intended work. (This is more like expecting results and making sure that the actual results match the expected ones)

Unit testing is done at the module level. The testers are no way concerned to unit testing. But now a days, companies have a seperate department called "Dev Testing" that is more involved in these kind of unit testing.

  Was this answer useful?  Yes

Brahmaiah

  • Oct 26th, 2005
 

Unit testing is done by developers as well as test driven developers with some tools like jUnit

  Was this answer useful?  Yes

P Phani Sankar Pogaru

  • May 22nd, 2007
 

Unit testing is done with the help of families related to X-Unit like JUnit,HTTPUnit.

Junit is basically to test the java classes. If you want to test jsp or servlets or jsf we need to use either httpunit or cactus, these are the tools built on top of junit which is built on top of xunit. 

  Was this answer useful?  Yes

suresh

  • Oct 10th, 2007
 

Generally unit testing is conducted by developers. unit testing means internal logic of given module. for java we use JUnit tool to test java modules

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions