期刊文献+

一种面向形式化表格需求模型的测试用例生成方法 被引量:6

Test Case Generation Method Oriented to Tabular Form Formal Requirement Model
下载PDF
导出
摘要 现代安全关键性系统的软件规模和复杂性的快速增长给这类安全关键性软件系统的开发带来了很多挑战。传统文本文档的需求描述方法无法保证此类系统的开发进度和系统可靠性要求。为此文中提出了一种兼具可读性和可自动分析的形式化表格需求建模方法。文中介绍了一种针对这种表格模型测试用例的自动生成方法,工作包括对该形式化需求表格模型展开语义分析,建立需求模型的控制树结构,得到其测试等价类;为了减少不必要的测试,定义了不同安全级别的软件需求模型的测试覆盖标准,并针对不同覆盖率准则分别给出基于控制树结构的测试路径约束选择方法;对于每条路径约束测试等价类,提出了基于域错误的测试用例选择方法,能够自动生成所需的检测域错误的测试用例集。最后,通过一个需求模型实例展示了所提方法的有效性。 The rapid growth of the software size and complexity of modern safety-critical systems has brought many challenges to the development of such safety-critical software systems.Traditional text documents cannot guarantee the development progress and system reliability requirements.For this reason,this paper proposes a formal form requirement modeling method with both readability and automatic analysis.This paper introduces a method for automatically generating test cases for this tabular model.The work includes semantic analysis of the formal requirements tabular model,establishing the control tree structure of the requirements model,and obtaining its test equivalence classes.In order to reduce unnecessary testing,test path constraint selection methods are proposed based on those criteria.Through performing domain error test case selection,test cases are generated for each path constraint selected,which makes up a test case set for the requirement.At last,to demonstrate how we generate test cases form a requirement model,a case study is given.
作者 汪文轩 胡军 胡建成 康介祥 王辉 高忠杰 WANG Wen-xuan;HU Jun;HU Jian-cheng;KANG Jie-xiang;WANG Hui;GAO Zhong-jie(College of Computer Science and Technology,Nanjing University of Aeronautics and Astronautics,Nanjing 211106,China;Collaborative Innovation Center of Novel Software Technology and Industrialization,Nanjing 211107,China;Department of Software,China National Aeronautic Radio Electronics Research Institute,Shanghai 200233,China)
出处 《计算机科学》 CSCD 北大核心 2021年第5期16-24,共9页 Computer Science
基金 国家重点基础研究发展计划(973计划)项目(2014CB744900) 2020年度重庆市出版专项资金资助项目。
关键词 测试用例生成 表格需求模型 形式化需求模型 安全关键性系统 Test case generation Tabular requirement model Formal requirement model Safety-critical system
  • 相关文献

参考文献2

二级参考文献15

  • 1王林章,李宣东,郑国梁.一个基于UML协作图的集成测试用例生成方法[J].电子学报,2004,32(8):1290-1296. 被引量:25
  • 2尚绪全,张毅坤.基于UML的构件软件集成测试用例生成研究[J].计算机工程,2006,32(1):96-98. 被引量:7
  • 3Eriksson H E,Penker M,Lyons B,et al.UML2工具箱[M].余安萍,愈俊平,等译.北京:电子工业出版社,2004.
  • 4Abdurazik A, Offutt J. Using UML collaboration diagrams for static checking and test generation [C]. York, UK: Proc of UML'00, 2000:383-395.
  • 5Delamaro M E,Maldonado J C,Mathur A P.Interface mutation: An approach to integration testing[J]. IEEE Transaction on Software Engineering, 2001 (3):228-247.
  • 6Wu Ye,Chen Mei-Hwa,Offutt J.UML-based integration testing for component-based software[C]. Ottawa, Canada: Proc of 2nd International Conference on COTS-based Software Systems,2003.
  • 7Tan R P, Edwards S H.An assertion checking wrapper design for Java [R]. Ames, Iowa: Dept of Computer Science, Iowa State Univ, Tech Rep: #03-11, 2003:29-34.
  • 8Hierons R M. Checking states and transitions of a set of communicating finite state machines[J]. Microprocessors and Microsystems,2001,24:443 -452.
  • 9Hartmann J,Imoberdorf C,Meisinger M. UML-based integration testing[C].Rome:ACM SIGSOFT International Symposium on Software Testing and Analysis,2000:60-70.
  • 10孙建全.大型民机起落架控制系统技术发展[J].航空制造技术,2009,0(8):51-53. 被引量:7

共引文献11

同被引文献48

引证文献6

二级引证文献9

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部