翻译:Black Box and White Box Testing(1) 上海 孙逊 1994-01-28 There are two different testing approaches which have been used,namely black box testing and white box texting. Black box testing is equivalent to functional testing.It means tests that are conducted at the software interface.Test cases demonstrate that the program properly performs each function stipulated for it,that input is correctly accepted and output is correctly produced.The testers need not have access to the source code of the routine and need not understand the program which is being tested.They are presented with the specification of a component to be text and use this to derive the test cases. 黑盒测试和白盒测试(一) 软件测试是保证软件质量的关键。测试的目的是找出错误。 有二种不同的测试方法,即黑盒测试和白盒测试。 黑盒测试相当于功能测试。它意味着在软件接口处进行测试。其测试情况用证实程序正确地完成所规定的每个功能,能正确地接受输入并能正确地产生输出。测试员不必接触被测程序的源代码,也不必熟悉被测程序。测试员靠所给出的被测模块的规格说明书确定测试数据。