I was asked in an interview question,whether have you done unit testing in your project

Showing Answers 1 - 8 of 8 Answers

Krishna Kanth

  • Sep 18th, 2006
 

At the initial stages of development, small units of programs will be developed and then they will be combined to form a module. Once the units are developed and before uniting them into modules those units are to be checked for proper functioning. This method of checking the units, after they are developed is called Unit testing, as there will no GUI interfaces at the unit level the testing is done by the developer. Usually test engineer will not come into picture during Unit Testing.

  Was this answer useful?  Yes

komal

  • Sep 29th, 2006
 

Hi,Unit tests typically exercise small pieces of the code - you may write a new function, then write some unit tests for that function.  For example, you might write some code that passes invalid parameters to the function and verifies it handles the error condition gracefully, doesn't crash, etc.

Unit testing is almost like a white box testing.

  Was this answer useful?  Yes

Hi,Unit tests typically exercise small pieces of the code - you may write a new function, then write some unit tests for that function.  For example, you might write some code that passes invalid parameters to the function and verifies it handles the error condition gracefully, doesn't crash, etc.
Unit testing is almost  like a  white box testing.

  Was this answer useful?  Yes

nagarjunareddyyiza

  • Oct 4th, 2006
 

HI FRIEND

UNIT TESTING IS A PART OF WHITE BOX TESTING IS NOT  LIKE A WHITE BOX TESTING IF I AM WORNG PLZ SEND ME CORRECT ANSWER

  Was this answer useful?  Yes

nagarjunareddyyiza

  • Oct 9th, 2006
 

 

SORRY THE LAST TIME I HAVE GIVEN WORNG ASWER

YES WE WILL DO BLACK UNIT TESTING IN THE PROJECT

  Was this answer useful?  Yes

Kumar Surapaneni

  • Jul 11th, 2007
 

Unit Testing : Is done by Programmers.

  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