White Box Testing:
Testing control structures of a procedural design. Can derive test cases to ensure:
All independent paths are exercised at least once.
All logical decisions aare exercised for both true and false paths.
All loops are executed at their boundaries and within operational bounds.
All internal data structures are exercised to ensure validity.
Why do white box testing when black box testing is used to test conformance to requirements?
Logic errors and incorrect assumptions most likely to be made when coding for "special cases:, need to ensure that these execution paths are tested.
May find assumptions about execution paths incorrect, and so make design errors. White box testing can find these errors.
Typographical errors are random. Just as likely to be on an obscure logical path as on a mainstream path.
Testing control structures of a procedural design. Can derive test cases to ensure:
All independent paths are exercised at least once.
All logical decisions aare exercised for both true and false paths.
All loops are executed at their boundaries and within operational bounds.
All internal data structures are exercised to ensure validity.
Why do white box testing when black box testing is used to test conformance to requirements?
Logic errors and incorrect assumptions most likely to be made when coding for "special cases:, need to ensure that these execution paths are tested.
May find assumptions about execution paths incorrect, and so make design errors. White box testing can find these errors.
Typographical errors are random. Just as likely to be on an obscure logical path as on a mainstream path.
No comments:
Post a Comment