Software Testing Principles

上一篇 / 下一篇  2008-05-23 10:39:09 / 个人分类:Software Testing


1A necessary part of a test case is a definition of the
expected output or result.

a test case must consist
of two components:
1. A descrīption of the input data to the program.
2. A precise descrīption of the correct output of the program
for that set of input data.
2A programmer should avoid attempting to test his or her
own program.
3A programming organization should not test its own
programs.
4Thoroughly inspect the results of each test.
5Test cases must be written for input conditions that are
invalid and unexpected, as well as for those that are valid
and expected.
6Examining a program to see if it does not do what it is
supposed to do is only half the battle; the other half is
seeing whether the program does what it is not supposed
to do.
7Avoid throwaway test cases unless the program is truly a
throwaway program.
8Do not plan a testing effort under the tacit assumption
that no errors will be found.
9The probability of the existence of more errors in a
section of a program is proportional to the number of
errors already found in that section.
10Testing is an extremely creative and intellectually
challenging task.


TAG: Software Testing Principles

 

评分:0

我来说两句

Open Toolbar