No.1:测试用例中一个必需的部分是对于其输出或结果的定义。
      A necessary part of a test case is a definition of the expected output or result.
No.2:程序员应当避免测试自己编写的程序。
      A programmer should avoid attempting to test his or her own program.
No.3:编写软件的组织不应当测试自己编写的软件。
      A programming organization should not test its own programs.
No.4:应当彻底检查每个测试的执行结果。
      Thoroughly inspect the results of each test.
No.5:测试用例的编写不仅应当根据有效和预期的输入情况,而且也应当根据无效和未预料到的输入情况。
      Test cases must be written for input conditions that are invalid and unexpected, as well as for those that are valid and expected.
No.6:检查程序是否“未做其应该做的”仅是测试的一半,测试的另一半是检查程序是否“做了其不应该做的”。
      Examining 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.
No.7:应避免测试用例用后即弃,除非软件本身就是一个一次性的软件。
      Avoid throwaway test cases unless the program is truly a throwaway program.
No.8:计划测试工作时不应默许假定不会发现错误。
      Do not plan a testing effort under the tacit assumption that no errors will be found.
No.9:程序某部分存在更多错误的可能性与该部分已经发现的错误数量成正比。
      The 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.
No.0:软件测试是一项极富创造性、极具智力挑战性的工作。
      Testing is an extremely creative and intellectually challenging task.
posted on 2009-07-25 19:23  Yean  阅读(253)  评论(0编辑  收藏  举报