计算机工程与应用 ›› 2008, Vol. 44 ›› Issue (13): 77-79.

• 研发、设计、测试 • 上一篇    下一篇

基于子域的构件软件充分性测试样本生成策略

张 凡,周兴社,孙 林,董云卫   

  1. 西北工业大学 计算机学院,西安 710072
  • 收稿日期:2007-10-10 修回日期:2008-03-06 出版日期:2008-05-01 发布日期:2008-05-01
  • 通讯作者: 张 凡

Subdomain-based adequate test suite building strategies for component-based software

ZHANG Fan,ZHOU Xing-she,SUN Lin,DONG Yun-wei   

  1. Dept. of Computer Science,Northwestern Polytechnical University,Xi’an 710072,China
  • Received:2007-10-10 Revised:2008-03-06 Online:2008-05-01 Published:2008-05-01
  • Contact: ZHANG Fan

摘要: 基于构件的软件开发给软件测试带来了新的挑战。现有基于构件的软件测试充分性的研究表明,集成测试时的软件测试充分性不能保证构件的测试充分性,同时,构件的测试充分性也不能保证软件的测试充分性。提出了将构件测试充分性对集成测试的限制转化为子域的思想,将测试标准产生的软件子域和构件子域映射的软件子域进行统一的处理,从而对基于构件的软件测试样本集生成与优化提出了一个新的思路。

关键词: 构件, 测试充分性, 测试集生成

Abstract: Component-based software engineering has brought new challenges to the software testing.Studies on the test data adequacy of component-based software shows that in integrated testing,adequate testing of the software cannot guarantee the test data adequacy of its components,and adequate testing of the components cannot guarantee the test data adequacy of its components.The idea proposed in this paper,which converts the restriction of test data adequacy of the components in the integrated testing into subdomains,uses a uniform method to process the subdomains generated by criterions and subdomains generated by its components,provides a novel way to the test suite generation and optimization.

Key words: component, adequate testing, test suite generation