Please give an example of White box Testing?
Answers were Sorted based on User's Feedback
Whit Box Testing:- It is done by the developers to check the
code to which they have written.
In white box testing we do the following testing techniques
1.Statement Testing.
2. Loop Testing.
3. Path Testing.
4. Branch Testing.
5. Mutation Testing.
In Statement Testing we check all whether all the statements
are given in a correct format and in a meaningful format.
In Loop testing we check whether the assigned loop is
terminating properly in the code part.
In Path testing each and every code has some path to flow
one path goes in one functionality and other path goes to
other functionality so here we need to check whether the
path flow is moving properly or not.
In Branch testing we check how many branches are there in
the code all the branches are moving properly
IN Mutation testing we check the standard of code like for
the working part of code remove some lines and then run the
code here we should get an error message related to the
removed lines of code - to justify whether the code is
working properly or not.
All these things need to tested by developers for there own
code before they release to QA team.
| Is This Answer Correct ? | 10 Yes | 1 No |
Answer / mohammedblr
Examples for the White Box Testing are:
Unit Testing,Integration Testing and API Testing.
J2EE:Junit Open Source Tool for the Component level i.e
module level testing of the source code for the branch
coverage,decision coverage etc
Dot Net:Nunit Open Source Tool for the Unit level/component
level testing.
| Is This Answer Correct ? | 3 Yes | 3 No |
You are testing a new feature that includes a builder(wizard)that walks you through the creation of an item.There are 10 configuration checkboxes you can check/uncheck for the item being built.The builder makes you select 3 of these 10 options.You can choose any 3 options. A)How many possible ways could the item in question be created (i.e. how many possible configurations)? Describe the technique you would use to determine this.
Hi DUE TO SOME PROBLEMS I STOPPED MY MCA IN FINAL YEAR. I AM PLANING TO KEEP FAKE CERTIFICATE OF MCA, PLEASE HELP ME IF ANY ONE CAN HELP ME IN THIS. YOU CAN REACH ME AT venu.naidu1@gmail.com, for this i will pay 5000 to 7000, and i will maintain it very confidential. please help.
what are iso,cmm,cmmi,level1,level2 etc in testing?
what is test log? what fields does it contain, At which stage do we use this in real time?
6 what do you like least about testing?
When should you opt for manual testing over automation testing?
What is difference between load testing and stress testing?
Why must we test cookies?
Please explain how to elaborate on the types of system/functionality for testing Payments, Statements, & Transactions features in a bank.....like what do we test in these,in detail? It's urgent, please reply...thanks in advance.
What is accessibility testing
what is cookies. how do we test the cookies
what the diff b/w Development costs Evolution costs