|
software engineering is a strategy for producing high quality software.
Testing is the process of executing a program with the intent of finding
errors. A good test case is one with a high probability of finding an as-yet
undiscovered error. A successful test is one that discovers an as-yet-undiscovered error. Only exhaustive testing can show a program is free from defects. However,
exhaustive testing is not possible.
A good test has a high probability of finding an error. ,is not redundant,
should be best of breed. ,should not be too simple or too complex.
Black-box or behavioral testing knowing the specified function a product is to
perform and demonstrating correct operation based solely on its specification
without regard for its internal logic. (You know the behavior of the system,
but do not know the internal detail), e.g. boundary value analysis: focus on
the boundaries of the input domain rather than its center. (based on system
specifications).
White-box or glass-box testing knowing the internal workings of a product,
tests are performed to check the workings of all possible logic paths. (usually
based on the program flow graph).
[ 本帖最后由 flyingpig 于 2005-10-31 22:44 编辑 ] |
|