Monday, April 13, 2009

Explain White-box Testing?

White-box testing is also known as structural testing, clear box testing, and glass box testing. White-box testing is verification technique software engineers can use to examine if their code works as expected. White-box testing usually consists of testing paths, branch by branch, to produce predictable results.

Unit testing and Integration testing are the examples of White box testing techniques.

The following are white-box testing techniques:

white-box testing Statement Coverage
white-box testing Decision Coverage
white-box testing Condition Coverage
white-box testing Decision/Condition Coverage
white-box testing Multiple Condition Coverage

More on White Box Testing:

Below PDF includes a method for writing a set of white-box test cases that exercise the paths in the code, the use of equivalence partitioning and boundary value analysis to manage the number of test cases that need to be written and to examine error-prone/extreme "corner" test cases, how to measure how thoroughly the test cases exercise the code.

White Box Testing

White box Analysis Vs Black box analysis Vs Gray box analysis.

White box, Black box, Gray box

This paper introduces white box testing for security, how to perform white box testing, and tools and techniques relevant to white box testing etc.

White box Testing

Software testing techniques including White box and black box techniques.

Software testing techniques

Also See:
Black Box Testing
Limitations or Disadvantages of White-box Testing
Advantages of White-box Testing