Written by Habibov Ulug`bek Agenda Software testing approach that uses inner structural and logical properties of the program for verification and deriving test data
1. What’s white box testing
- Software testing approach that uses inner structural and logical properties of the program for verification and deriving test data
- Also called Clear Box Testing, Glass Box Testing and Structural Testing
- Manual Inspection, Walkthrough
- Automatic Syntax Parser, Symbolic Execution
Pros and Cons Pros Cons Usage of more information on the tested object (than BlackBox) Expensive Inference of real Equivalence Partitioning Limited Semantic Coverage Structural Coverage Assurance Definition! Testing based on an analysis of the internal structure of the component or system. White Box testing is also known as Clear Box testing,Glass Box testing,Transparent Box testing, and Structure-Based testing. It can be applied at all levels of SDLC. Most of the defects are found in Unit,Component &Integration levels is through White-box.
WHITE BOX TECHNIQUES:
- Statement coverage testing
- Decision coverage testing
- Condition coverage testing
- Multiple condition testing
STATEMENT COVERAGE: STATEMENT COVERAGE: The percentage of executable statements that have been exercised by a test suite. He loved soccer, but feared he had no way to talk to a coach or teammates. Statement coverage Example. READ(a) IF a>6 THEN B=a END IF PRINT(b) Here has 100% statement code coverage!! He recently opened a camera shop near the Louvre in Paris. Visitors to his store, mostly tourists, speak many different languages making anything beyond a simple transaction a challenge.
Story for illustration purposes only
Decision coverage The percentage of decision outcomes that have been exercised by a test suite. 100% decision coverage implies 100%statement coverage. Decision coverage Example READ (A) READ (B) C=A-2*B IF C<0 THEN PRINT "C negative" END IF Condition coverage Condition coverage In this white box testing technique try to cover 100% conditions coverage of the code , it means while testing every possible conditions in the codes executed at least once Multiple Condition Coverage In this type of testing we use to cover each every point of system to be execute once . In the actual development process developers are make use of the combination techniques those are suitable for the software application. Thanks your attention and time 0>
Do'stlaringiz bilan baham: |