Volume 33 Issue 04
Apr.  2007
Turn off MathJax
Article Contents
Huang Long, Guo Yufu, Wu Ji, et al. Design and implementation of model repository testing based on metamodel and JUnit[J]. Journal of Beijing University of Aeronautics and Astronautics, 2007, 33(04): 481-485. (in Chinese)
Citation: Huang Long, Guo Yufu, Wu Ji, et al. Design and implementation of model repository testing based on metamodel and JUnit[J]. Journal of Beijing University of Aeronautics and Astronautics, 2007, 33(04): 481-485. (in Chinese)

Design and implementation of model repository testing based on metamodel and JUnit

  • Received Date: 18 May 2006
  • Publish Date: 30 Apr 2007
  • To solve repository testing problem of test models in model driven testing, the single element, single test metamodel and combination of test metamodels coverage criteria were proposed. Test cases were generated by instantiation method and test verdict problem was discussed. The model repository testing project was implemented by JUnit framework on Eclipse platform. The effect of execution efficiency with different quantitative test cases and the relation of different test coverage criteria and corresponding JUnit test code scale were analyzed. Then practical instructions were given for test metamodel design and repository. The test results indicate that JUnit framework could be used to metamodel based testing. An automatic test framework-JMetamodel based on JUnit and metamodel was proposed which could be used for model repository and transformation testing.

     

  • loading
  • [1] Hawai IBM Haifa Research Laboratory. Model driven testing tools .AGEDIS 1999-20218.Release 4.0.0, 2003 [2] Yoonsik Cheon,Gary T Leavens. A simple and practical approach to unit testing:the JML and JUnitway Boris Magnusson. ECOOP 2002 Object-Oriented Programming, 16th European Conference. Spain:Springer-Verlag,2002:231-255 [3] Andrew Patterson,Michael Kolling,John Rosenberg.Introducing unit testing with blueJ Proceedings of the 8th Annual Conference on Innovation and Technology in Computer Science Education.Thessaloniki:ITiCSE,2003:11-15 [4] 余波,王树林,张大方.基于JUnit自动生成类测试案例框架的实现[J].计算机工程与应用,2006(1):89-91 Yu Bo, Wang Shulin, Zhang Dafang. The implementation of class test case framework automatically generated based on JUnit[J].Journal of the Computer Engineering and Application, 2006(1):89-91 (in Chinese) [5] Aidan Delaney,Thomas J, Naughton. Emulation of an unconventional model of computation in Java Proceedings of the Inaugural Conference on the Principles and Practice of Programming. Ireland: ACM International Conference Proceeding, 2002:1-6 [6] 谢煜涛, 左雪梅.用JFCunit对GUI 图形界面进行单元测试[J].中国测试技术,2005,31(3):78-80 Xie Yutao,Zuo Xuemei.How to use JFCunit to unit test[J]. Journal of China Measurement Technology,2005, 31(3):78-80(in Chinese) [7] 罗婧婷,赵轶群,郑小军.开放源Web 应用开发中的一种测试解决方案[J].计算机与现代化,2005(1):25-28 Luo Jingting,Zhao Yiqun,Zheng Xiaojun. Test solution for open2source web application development[J]. Computer and Modernization, 2005(1):25-28(in Chinese) [8] 何成万,余秋惠.用JUnit实现Java程序的自动测试[J].计算机应用, 2002, 22(3):93-94 He Chengwan, Yu Qiuhui. Automatically Java program testing by JUnit[J]. Journal of Computer Applications, 2002, 22(3):93-94(in Chinese) [9] Huang Chenghui, Chen Huoyan.A semi-automatic generator for unit testing code files based on JUnit IEEE International Conference on Systems, Man and Cybernetics. Hawaii:IEEE,2005:140-145 [10] Lin Yuehua, Zhang Jing, Gray Jeff. Model comparison:a key challenge for transformation testing and version control in model driven software development . Vancouver:Addison Wesley Press, 2004.http://www.softmetaware.com/oopsla2004/gray.pdf
  • 加载中

Catalog

    通讯作者: 陈斌, bchen63@163.com
    • 1. 

      沈阳化工大学材料科学与工程学院 沈阳 110142

    1. 本站搜索
    2. 百度学术搜索
    3. 万方数据库搜索
    4. CNKI搜索

    Article Metrics

    Article views(2461) PDF downloads(1042) Cited by()
    Proportional views
    Related

    /

    DownLoad:  Full-Size Img  PowerPoint
    Return
    Return