What is the difference between White Box testing and Unit
Testing?

Answer Posted / lokesh karanam

generally whitebox testing and unit testing are same. in
other side in balckbox testing, functional testing is also
called as unit testing.

defination of unit testing generally:testing the
functionality/output of a perticular unit or block.

In white box testing: developer will check for the each and
every line of code for the exact output.so checking each
and every line like a unit, so called unit testing.

In black box testing: testing team will check for
functionality of an each field or each option/parameter.
each parameter/field is like a block/unit. so we can call
it as unit testing.

finally, there is no industrial standard defination for
these.but the principles are same in both whitebox and
black box testing.

please correct me if i am wroung.......

regards,

lokesh karanam

Is This Answer Correct ?    0 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

!what are the entry criteria for antomation testing ?

1994


hi, I m looking for a career in manual web testing. so PLZ anybody who have the practical knowledge of dis field help me. GIVE ME UR MAIL ID so that i can ask regarding some doubts. my MAIL ID is ankurtester819@gmail.com

1459


What are the challenges you faced in your project (Testing) and in your company?

2587


what are the different methods to test a product in 'Japanese' language? NOTE:User is unable to perform basic functionalities while using the app..(copy, paste, text selection etc.)

1479


What are all the netwoking tools, hardware tools and software tools required for testing a web-based n client server applicatopn?

1448






do we require any scripting languae to write test cases in test director? what for it is used?it is like back end?only database we can there?

1637


what are the test bugs

1486


Artifacts in design phase of SDLC ?

3064


What is date driven testing?

669


What exactly is quality control? Is it similar to quality assurance?

614


hello frens. Im Arun from the uk. im planning to apply for tester jobs with 3yrs experience. the problem is i dont have resumes. i have to mention atleast 3 projects (preferably financial projects) in my CV. im totally blank. can u plz send ur CV's to my email.... arunmoses1982@yahoo.com. this would be a great help from you guyz. n u need any help from me? just mail me n ill get in touch with u. Thanx.

1454


name poneno dept sun 9894433467 computer This is the xls sheet a programs written to transfer this data into database write test cases and test scenario?

1917


i need some objective type papers for my certification

1748


If I want to check compability of software in a MAC OS then which steps shold I follow?

1583


What are the phases involved in software testing life cycle?

670