期刊文献+

基于ASL的模型驱动架构测试方法 被引量:3

Testing method for model driven architecture based on ASL
下载PDF
导出
摘要 针对模型驱动架构(MDA)下的软件开发方法中测试启动比较晚、难以发现隐藏在模型中的缺陷及UML模型描述缺乏精确语义等问题,提出了基于ASL的模型测试方法:从UML模型出发,将动作规约语言(ASL)运用于平台无关模型(PIM)上建立测试模型。给出了ASL语句在MDA过程中的工作原理、平台无关模型的建立过程、测试用例建立的步骤、测试执行的实施过程,最后结合实例,在UML图的基础上运用ASL对测试环境进行构建,并创建了系统的测试用例,对模型及业务逻辑进行了测试。实验结果表明,提出的基于ASL的模型测试方法既能利用模型驱动对复杂的测试用例进行简化和抽象,又能在软件生存期早期揭示软件的缺陷,防止缺陷随着软件开发过程的进行而被放大。 Aiming at the issues of late test start-up in software development methods with model driven architecture (MDA), difficulty in finding the flaws hidden in models, deficient precise seman- temes in UML model description and others, proposes a model test method based on ASL.Starting from the UML model, Action Specification Language (ASL) is applied to platform independent model (PIM) in order to build a test model. Narrates the operation mode of ASL sentences in MDA process, creating process of PIM, steps for building test cases, implementation of tests, and finally applies ASL to build test environment on the basis of UML diagrams by combining examples and creates systematical test cases to test the model and business logic. Experimental results show that the proposed model test method based on ASL can not only simplify and abstract the complicated test cases by using model driven, but also disclose the flaws in the earlier part of software life cycle, preventing the flaws from being amplified as the software development process continues.
作者 张小艳 文辉
出处 《计算机工程与科学》 CSCD 北大核心 2014年第4期662-666,共5页 Computer Engineering & Science
关键词 模型驱动架构 动作规约语言 平台无关模型 测试用例 model driven architecture action specification language platform independent model testcase
  • 相关文献

参考文献5

二级参考文献33

  • 1王林章,李宣东,郑国梁.一个基于UML协作图的集成测试用例生成方法[J].电子学报,2004,32(8):1290-1296. 被引量:25
  • 2崔萌,史耀馨,李宣东,郑国梁.基于MDA的PIM到J2EE平台PSM的转换方法[J].计算机应用与软件,2005,22(1):1-2. 被引量:7
  • 3Heckel R, Lohmann M. Towards Model-Driven Testing[J]. Electronic Notes in Theoretical Computer Science, 2003, 82(6): 1-11.
  • 4Zhen Rudai. Model-Driven Testing with UML 2.0[C]//Proc. of the 2nd European Workshop on Model Driven Architecture(MDA) with an Emphasis on Methodologies and Transformations. Toledo, Spain: [s. n.], 2004.
  • 5Javed A Z, Strooper P A, Watson G N. Automated Generation of Test Cases Using Model-Driven Architecture[C]//Proc. of the 2nd International Workshop on Automation of Software Test. Minneapolis, usA: [s. n.], 2007.
  • 6OMG. ptc/2004-04-02-2004 UML 2.0 Testing Profile[S]. 2004.
  • 7OMG. Unified modeling language specifieation,Version 2.0 [EB/OL]. [2005-08]. http://www, omg. org.
  • 8Kim Y G, Hong H S, Bae D H. Test cases generation from UML state diagrams[J]. IEEE Proceedings Software, 1999, 146(4) : 187-192.
  • 9Supaporn Kansomkeat, Wanchai Rivepibloon. Automated- generating test case using UML stateehart diagrams I-C]// Proceedings of the 2003 Annual Research Conference of the South African Institute of Computer Scientists and Informa- tion Technologists on Enablement Through Technology. South African: ACM,2003 : 296-300.
  • 10Jefferson Offutt A, Xiong Yiwei, Liu Shaoying. Criteria for generating speeieation-based tests[C]// Proceedings of the Fifth IEEE International Conference on Engineering of Com- plex Computer Systems. Las Vegas, USA: IEEE, 1999: 119- 129.

共引文献35

同被引文献30

引证文献3

二级引证文献18

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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