Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

White Box Testing Techniques with Example

What is White Box Testing?
White Box Testing (WBT) is additionally called Structural or Glass box testing.
White box testing involves thinking about the structure of the code. When you know the internal structure of a product, tests can be executed to ensure that the internal operations performed reported by the specification. And all internal components have been adequately exercised.
White Box Testing is coverage of the specification in the code.
Code coverage
Segment coverage:
Branch Coverage or Node Testing:
Compound Condition Coverage
Basis Path Testing
Data Flow Testing (DFT)
Path Testing
Loop Testing

Why we do White Box Testing?

To ensure:
·    That all independent paths within a module are actually exercised at least once.
·    All logical decisions verified on their true and false values.
·    All loops executed at their boundaries and within their operational bounds internal data structures validity.

Need of White Box Testing?

To discover the following types of bugs:
·    Logical error have a tendency to creep into our work when we design and implement functions, conditions or controls that are out of the program
 ·    The design errors due to difference between logical flow of the program and the actual implementation
 ·    Typographical errors and syntax checking


This post first appeared on Testing Pro, please read the originial post: here

Share the post

White Box Testing Techniques with Example

×

Subscribe to Testing Pro

Get updates delivered right to your inbox!

Thank you for your subscription

×