摘要
白盒测试又称为结构测试、透明盒测试、逻辑驱动测试或基于代码的测试.白盒测试是测试被测单元内部如何工作的一种方法.其目的是通过检查软件内部的逻辑结构,对软件中的逻辑路径进行覆盖测试.本文介绍6种白盒测试方法和适用场合:语句覆盖、判定覆盖、条件覆盖、判定条件覆盖、条件组合覆盖、路径覆盖.
White box testing,or structure testing, is a kind of test which is based on code testing or logic drive test. White Box Testing ( WBT ) is a method to test how the tested unit works in order to operate testing in logic path in the soft wares. This paper introduces six WBT methods and occasions to apply for,which include:statement coverage, decision coverage, condition coverage, decision-conditions coverage, branch condition combination coverage and path coverage.
出处
《广西大学学报(自然科学版)》
CAS
CSCD
2008年第B06期146-149,共4页
Journal of Guangxi University(Natural Science Edition)