Unit testing comes under which testing technique?1.white box testing technique2.black box testing technique

Questions by hanisha   answers by hanisha

Showing Answers 1 - 13 of 13 Answers

murugavel

  • Aug 26th, 2006
 

hi all,

 Generally unit testing comes under white box testing because it is the micro scale of testing. here we r going to check a particular function or code module and is usually carried out by developers and not by the testers. this is because it requires knowledge about the internal logic design or coding part  of the application.

  Was this answer useful?  Yes

sandipan

  • Aug 28th, 2006
 

I think unit testing may include both black box and white box testing.Just take a senario where an application has different module ( unit ) .So each unit must be test by developer ( white box ) and by tester ( blackbox ) . Then againg we do testing after integration of different module.

  Was this answer useful?  Yes

Pradeep R

  • Sep 22nd, 2006
 

Unit Testing Comes under white box testing technique.


Testing of each line of code / each function / each procedure / each loop is called unit testing.


Taking each function and passing the required parameters / values and expected the desired output will be unit testing.


But it does not mean that always done by a developer. An Exp. white box tester can also perform unit testing, but he should have coding knowledge.


Unit testing is done by only developers is wrong. It is basically done by White box testers / Code testers.


Pradeep R

pradeepssit@yahoo.com

  Was this answer useful?  Yes

Dharmakrishnan

  • Dec 13th, 2006
 

Hi

Unit  testing  comes under  both  white and black  box  testing  the reason is The developer who write some code  in  which  he  command the  system  to  give some  output, after  he  complete  that  code  he  will  check  to  find  weather the  code  return by  him  is  correct or not .When a  black box  tester  test it he will not  see the internal part of the  code he will see only weather the code  gives the correct  out  which  it  has  to  give 

  Was this answer useful?  Yes

shobha

  • Feb 4th, 2007
 

it comes under white box testing

  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