黑盒测试和灰盒测试检查项

上一篇 / 下一篇  2014-05-22 10:35:32 / 个人分类:用例设计

Black-box and gray-box testing.Testing that exercises most parts of the system by invoking various system calls through the user interface is calledblack-boxtesting. For example, if the user adds a record to the application's database by entering data via the user interface, various layers such as the database layer, the user-interface layer, and business-logic layers are executed. The black-box tester validates the correct behavior. only by viewing the output of the user interface.Be aware, however, that in some cases errors may not be reported via the user interface due to defects in the error-reporting mechanism of the software. For example, if the application fails to insert a record in the database but does not report an error to the user interface, the user interface receives a "false positive" from the underlying code and continues on without displaying an error message to the user.

Since user-interface, or black-box, testing does not exhibit all defects, gray-box testing must also be applied.[Gray-box testing, addressed in , requires test designers to possess knowledge of the underlying components that make up the system.

摘自高效测试的50条建议


TAG: 测试用例 黑盒测试 灰盒测试

 

评分:0

我来说两句

Open Toolbar