用户名: 密码: 验证码:
基于资源扩展活动图的并发测试用例生成方法
详细信息    查看全文 | 推荐本文 |
  • 英文篇名:A Method of Generating Test Cases for Concurrent Programs Based on Activity Diagram Expanded by Resource Attributes
  • 作者:朱晓程 ; 薛静 ; 杨彬 ; 闫雪丽
  • 英文作者:Zhu Xiaocheng;Xue Jing;Yang Bin;Yan Xueli;Beijing Aerospace Automatic Control Institute;
  • 关键词:并发软件 ; 活动图 ; 共享资源 ; 测试用例生成方法
  • 英文关键词:Concurrent software;;Activity diagram;;Shared resource;;Method of generating test cases
  • 中文刊名:HTKZ
  • 英文刊名:Aerospace Control
  • 机构:北京航天自动控制研究所;
  • 出版日期:2019-02-15
  • 出版单位:航天控制
  • 年:2019
  • 期:v.37;No.177
  • 语种:中文;
  • 页:HTKZ201901011
  • 页数:7
  • CN:01
  • ISSN:11-1989/V
  • 分类号:62-68
摘要
对UML(统一建模语言)活动图进行共享资源的属性扩展,利用扩展的活动图对并发系统间任务的同步及数据的竞争关系建模,充分考虑并发软件运行原理、故障模式及测试效率,提出并发系统的测试覆盖原则及基于扩展活动图的并发测试用例生成方法。进一步通过举例验证该方法能够正确的生成并发测试用例同时又可防止用例数量爆炸,提高了并发软件测试的可靠性及效率。
        The shared resource attributes is added based on the unified modeling language activity diagram. Synchronization and data competition are modeled among concurrent systems by using extended activity diagrams. Fully considering the operating principle,failure mode and test efficiency of concurrent software,the test coverage principle of concurrent systems and the method of generating test cases for concurrent programs based on extended activity diagrams are proposed. Further,by case study,it is proven that the method can correctly generate test cases and prevent the generation of a large number from test cases.The method improves the reliability and efficiency of the test for concurrent programs.
引文
[1]卢超.并发软件测试理论与技术研究[D].武汉:华中科技大学,2007.(Lu Chao. Research on Testing Theories and Technologies of Concurrent Programs[D]. Wu Han:Huazhong University of Science&Technology,2007.)
    [2] OMG Unified Modeling Language Specification[S]. Object Management Group,2017.
    [3]牟凯,顾明.基于UML活动图的测试用例自动生成方法的研究[J].计算机应用,2006,26(4):844-846.(Mu Kai,Gu Ming. Research on Automatic Generating Test Casemethod Based on UML Activity Diagram[J]. Computer Applications. 2006,2626(4):844-846.)
    [4]崔萌,李宣东,郑国梁. UML实时活动图的形式化分析[J].计算机学报. 2004,27(3):339-346.(Cui Meng,Li Xuandong,Zheng Guoliang. Formal Analysis on UML Real-Time Activity Diagram[J]. Chinese Journal OF Computers. 2004,27(3):339-346.)
    [5]王聪,王学智. UML活动图的操作语义[J].计算机研究与发展,2007,44(10):1801-1807.(Wang Cong,Wang Xuezhi,An Operational Semantics for UML Activity Diagrams[J]. Journal of Computer Research and Development,2007,44(10):1801-1807.)

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700