| Peer-Reviewed

A Method for Improving Test Coverage by Improving Test Cases

Received: 20 April 2019     Published: 15 June 2019
Views:       Downloads:
Abstract

With the development of aerospace industry, the complexity of aerospace software is increasing, and the statue of software testing is becoming more and more important. The coverage test is an important method of testing the code logic defects. In order to meet the particularity of embedded aerospace software, this paper proposes a method to improve test coverage by improving test cases, which reducing the number of test cases and improving the efficiency of testing, thereby improving the effectiveness of test coverage. Based on five kinds of optimization types, the full text reduces the number of test cases and removes redundancy in order to improve the efficiency of test cases. While improving the test coverage, the method improves overall test efficiency, finally achieves the expected effect and reduces the cost of software development.

Published in Science Discovery (Volume 7, Issue 3)
DOI 10.11648/j.sd.20190703.12
Page(s) 140-146
Creative Commons

This is an Open Access article, distributed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution and reproduction in any medium or format, provided the original work is properly cited.

Copyright

Copyright © The Author(s), 2019. Published by Science Publishing Group

Keywords

Aerospace Software, Test Coverage, Test Cases

References
[1] 刘颖,王英,刘漫丹.嵌入式软件的测试覆盖[J] .自动化仪表,2012,33(6):63-66。
[2] 张丽.基于嵌入式系统的软件结构覆盖测试技术[J] .舰船电子工程,2005,25(3):63-66,83。
[3] 陈蕊,张广梅,李晓维.程序中不可达路径的检测方法[J]. 计算机工程,2006,32(16):86-88。
[4] 张艳梅,姜淑娟,王庆坛,等.不可达基路径的静态检测方法[J].计算机科学与探索,2012,6(2): 144-149。
[5] 黄晨,董燕,于倩,虞砺琨.基于目标码的测试覆盖不可达分析方法[J].测控技术,2017,36(01):100-103+107。
[6] 张垚,张超容,林腾,董芳泉.二进制代码测试覆盖率评估系统设计与实现[J].指挥信息系统与技术,2015,6(06):13-17。
[7] 王宏伟.提高DFT设计测试覆盖率的一种有效方法[J].今日电子,2008(04):41-42。
[8] 董彬.用矩阵来提高测试覆盖率[J].程序员,2007(10):108-110。
[9] 李树芳,安金霞,郑鹏飞,王猛.面向大型实时软件的测试覆盖率快速分析方法[J].西南科技大学学报,2013,28(03):89-94。
[10] 张臻阳. 一种提高测试覆盖率的wrapper设计及其优化[A]. 中国计算机学会.第二十一届计算机工程与工艺年会暨第七届微处理器技术论坛论文集[C].中国计算机学会:中国计算机学会计算机工程与工艺专业委员会,2017:4。
[11] 赵海秋. 考虑测试覆盖率和故障检测率的软件可靠性模型[A]. 中国机械工程学会可靠性工程分会.2010年全国机械行业可靠性技术学术交流会暨第四届可靠性工程分会第二次全体委员大会论文集[C].中国机械工程学会可靠性工程分会:中国机械工程学会可靠性工程分会,2010:3。
[12] Muhammad Shahid. An Evaluation of Test Coverage Tools in Software Testing [A]. 新加坡国际计算机科学与信息技术协会 (IACSIT—International Association of Computer Science and Information Technology). Proceedings of International Conference on Computer Communication and Management(ICCCM 2011)[C].新加坡国际计算机科学与信息技术协会 (IACSIT—International Association of Computer Science and Information Technology):成都亚昂教育咨询有限公司,2011:7.
[13] 张波. 基于测试覆盖的安全关键软件测试策略研究[D].中国科学院研究生院(长春光学精密机械与物理研究所),2012。
[14] Muhammad Shahid. A Study on Test Coverage in Software Testing[A].新加坡国际计算机科学与信息技术协会 (IACSIT—International Association of Computer Science and Information Technology).Proceedings of International Conference on Computer Communication and Management(ICCCM 2011)[C].新加坡国际计算机科学与信息技术协会 (IACSIT—International Association of Computer Science and Information Technology):成都亚昂教育咨询有限公司,2011:9.
Cite This Article
  • APA Style

    Hu Xiaoxi, Shen Xiaohe, Niu Jing. (2019). A Method for Improving Test Coverage by Improving Test Cases. Science Discovery, 7(3), 140-146. https://doi.org/10.11648/j.sd.20190703.12

    Copy | Download

    ACS Style

    Hu Xiaoxi; Shen Xiaohe; Niu Jing. A Method for Improving Test Coverage by Improving Test Cases. Sci. Discov. 2019, 7(3), 140-146. doi: 10.11648/j.sd.20190703.12

    Copy | Download

    AMA Style

    Hu Xiaoxi, Shen Xiaohe, Niu Jing. A Method for Improving Test Coverage by Improving Test Cases. Sci Discov. 2019;7(3):140-146. doi: 10.11648/j.sd.20190703.12

    Copy | Download

  • @article{10.11648/j.sd.20190703.12,
      author = {Hu Xiaoxi and Shen Xiaohe and Niu Jing},
      title = {A Method for Improving Test Coverage by Improving Test Cases},
      journal = {Science Discovery},
      volume = {7},
      number = {3},
      pages = {140-146},
      doi = {10.11648/j.sd.20190703.12},
      url = {https://doi.org/10.11648/j.sd.20190703.12},
      eprint = {https://article.sciencepublishinggroup.com/pdf/10.11648.j.sd.20190703.12},
      abstract = {With the development of aerospace industry, the complexity of aerospace software is increasing, and the statue of software testing is becoming more and more important. The coverage test is an important method of testing the code logic defects. In order to meet the particularity of embedded aerospace software, this paper proposes a method to improve test coverage by improving test cases, which reducing the number of test cases and improving the efficiency of testing, thereby improving the effectiveness of test coverage. Based on five kinds of optimization types, the full text reduces the number of test cases and removes redundancy in order to improve the efficiency of test cases. While improving the test coverage, the method improves overall test efficiency, finally achieves the expected effect and reduces the cost of software development.},
     year = {2019}
    }
    

    Copy | Download

  • TY  - JOUR
    T1  - A Method for Improving Test Coverage by Improving Test Cases
    AU  - Hu Xiaoxi
    AU  - Shen Xiaohe
    AU  - Niu Jing
    Y1  - 2019/06/15
    PY  - 2019
    N1  - https://doi.org/10.11648/j.sd.20190703.12
    DO  - 10.11648/j.sd.20190703.12
    T2  - Science Discovery
    JF  - Science Discovery
    JO  - Science Discovery
    SP  - 140
    EP  - 146
    PB  - Science Publishing Group
    SN  - 2331-0650
    UR  - https://doi.org/10.11648/j.sd.20190703.12
    AB  - With the development of aerospace industry, the complexity of aerospace software is increasing, and the statue of software testing is becoming more and more important. The coverage test is an important method of testing the code logic defects. In order to meet the particularity of embedded aerospace software, this paper proposes a method to improve test coverage by improving test cases, which reducing the number of test cases and improving the efficiency of testing, thereby improving the effectiveness of test coverage. Based on five kinds of optimization types, the full text reduces the number of test cases and removes redundancy in order to improve the efficiency of test cases. While improving the test coverage, the method improves overall test efficiency, finally achieves the expected effect and reduces the cost of software development.
    VL  - 7
    IS  - 3
    ER  - 

    Copy | Download

Author Information
  • Beijing Institute of Aerospace Control Devices, Beijing, China

  • Beijing Institute of Aerospace Control Devices, Beijing, China

  • Beijing Institute of Aerospace Control Devices, Beijing, China

  • Sections