翻译:Black Box and White Box Testing(2)

Author: 上海 孙逊 Date: 1994-02-04

        In general,we combine black box and white box testing to examine the software interface and assure the internal workings of the software.
        白盒测试和黑盒测试
        白盒测试以分析设计细节为基础。它通常选择测试一些重要的逻辑路径。这种测试可在多个不同位置检查程序状态,以确定实际状态是否和预期的状态相一致。白盒测试靠测试员对程序代码的理解和被测模块的结构来设计测试数据。所以测试员必须熟悉他们应该知道的有关被测程序的全部细节。
        一般,我们把黑盒测试与白盒测试相结合,既检查软件接口,又保证软件内部的运行情况。