摘要: 针对构件源代码的不可知性问题,该文提出了从构件规格说明、接口中提取两类测试信息,生成构件状态测试用例,通过测试这两类“测试信息”进行构件属性分析和状态判定,通过“属性-状态”依赖关系,划分属性关联关系中理想状态空间,并构造测试树,利用不同的覆盖准则生成测试用例。
关键词:
EJB构件,
测试树,
测试用例
Abstract: Aiming at the problem that component resource code is unidentified, this paper abstracts two kinds of test information from component specification and interface, and then generates component state test cases. Component attributes and states can be analyzed through test information. Attribute-relationship and ideal state space can be obtained from attribute-state relationship. Test tree is constructed and test cases are generated by different coverage criteria.
Key words:
EJB component,
test tree,
test case
中图分类号:
张毅坤;夏 辉;施凤鸣. 基于状态的EJB构件集成测试[J]. 计算机工程, 2007, 33(14): 76-78.
ZHANG Yikun; XIA Hui; SHI Fengming. Integration Test of EJB Component Based on State[J]. Computer Engineering, 2007, 33(14): 76-78.