What is Difference between White-box Testing and Unit
testing?

Answer Posted / sunithayagnamurthy

whitebox testing:
whitebox testing means to test the internal
functionality.it test coding....Every whitebox tester
should have coding knowledge.....

Unit testing:
Unit testing means to test the module wise
testing ..It test single pice of code or module....
some times it test whitebox test engineer or developer
Unittesting contains fallowing coverages
1.statment coverage
2.Loop coverage
3.branch coverage
4.functional coverage
statment coverage:
This statment test the statment is correct
or not
loop coverage: this statment test the loop is correctly
working or not like if,while ,whileloop etc
branch stament :this statment test the conditional statment
working correctly or not
functional coverage: the functional staments working
correctly or not
this is the unit testing

Is This Answer Correct ?    5 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

can you tell me how to write test cases for payments, receipts, inward clearing, outward clearing, A/c statements ?

1029


If asked to create a Configuration Design Pattern, where would you start?

699


Hi, I was asked following question during a interview. Please answer it: Password field is there,we can accepts every character except underscore and semicolon. It can accept min 6 characters and maximum 12 characters. Prepare boundary value and equivalence class test cases.

5564


What are the standard you follow in your company to prepare test plan document? Content is same in every standard or not. Also is there any document to read about the testing standards? Thanks in advance for giving me the answer.

952


what we have to read to gain knowledge in banking and financial domain(software testing) for 4+ experience

1135






write test case for gmail sign up page ?

978


Explain branch coverage and decision coverage.

94


Why documentation testing is important?

1032


i) functional test cases can we consider for regression test ? or we have to write separet test cases for regression test ? ii) How to write the system test case and what are the technique shall we have to follow ?

1191


how to write defects in excel sheets when defects occured

928


why testcases are written and what is the importance?

575


what are the 3 test tool categories and describe what each can do.

1390


what are risks and contigencies(solutions) of an ecommerce (online shopping and bidding project)application?we describe this in Test plan can anyone tell me abt this?

1005


what are your achievements in your organization ? Guyz very very urgent , help me

1043


Explain the strategy for testing a Java application?

1064