Tuesday, December 19, 2006

White Box Testing

White Box Testing

White Box Testing also know as glass box testing is a testing method where the tester involves in testing the individual software programs using tools, standards etc.

Using white box testing methods, we can derive test cases that:

1) Guarantee that all independent paths within a module have been exercised at lease once,

2) Exercise all logical decisions on their true and false sides,

3) Execute all loops at their boundaries and within their operational bounds, and

4) Exercise internal data structures to ensure their validity.

Advantages of White box testing:

1) Logic errors and incorrect assumptions are inversely proportional to the probability that a program path will be executed.

2) Often, a logical path is not likely to be executed when, in fact, it may be executed on a regular basis.

3) Typographical errors are random.

No comments: