Automated Test Generation for Medical RulesWeb Services: A Case Study at the Cancer Registry of Norway

被引:2
|
作者
Laaber, Christoph [1 ]
Yue, Tao [1 ]
Ali, Shaukat [1 ,2 ]
Schwitalla, Thomas [3 ]
Nygard, Jan F. [3 ,4 ]
机构
[1] Simula Res Lab, Oslo, Norway
[2] Oslo Metropolitan Univ, Oslo, Norway
[3] Canc Registry Norway, Oslo, Norway
[4] UiT Arctic Univ Norway, Tromso, Norway
关键词
automated software testing; test generation; REST APIs; cancer registry; electronic health records; rule engine; OCL CONSTRAINTS;
D O I
10.1145/3611643.3613882
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
The Cancer Registry of Norway (CRN) collects, curates, and manages data related to cancer patients in Norway, supported by an interactive, human-in-the-loop, socio-technical decision support software system. Automated software testing of this software system is inevitable; however, currently, it is limited in CRN's practice. To this end, we present an industrial case study to evaluate an AI-based system-level testing tool, i.e., EvoMaster, in terms of its effectiveness in testing CRN's software system. In particular, we focus on GURI, CRN's medical rule engine, which is a key component at the CRN. We test GURI with EvoMaster's black-box and white-box tools and study their test effectiveness regarding code coverage, errors found, and domain-specific rule coverage. The results show that all EvoMaster tools achieve a similar code coverage; i.e., around 19% line, 13% branch, and 20% method; and find a similar number of errors; i.e., 1 in GURI's code. Concerning domain-specific coverage, EvoMaster's black-box tool is the most effective in generating tests that lead to applied rules; i.e., 100% of the aggregation rules and between 12.86% and 25.81% of the validation rules; and to diverse rule execution results; i.e., 86.84% to 89.95% of the aggregation rules and 0.93% to 1.72% of the validation rules pass, and 1.70% to 3.12% of the aggregation rules and 1.58% to 3.74% of the validation rules fail. We further observe that the results are consistent across 10 versions of the rules. Based on these results, we recommend using EvoMaster's black-box tool to test GURI since it provides good results and advances the current state of practice at the CRN. Nonetheless, EvoMaster needs to be extended to employ domain-specific optimization objectives to improve test effectiveness further. Finally, we conclude with lessons learned and potential research directions, which we believe are applicable in a general context.
引用
收藏
页码:1937 / 1948
页数:12
相关论文
共 50 条
  • [41] An empirical study of automated unit test generation for Python']Python
    Lukasczyk, Stephan
    Kroiss, Florian
    Fraser, Gordon
    EMPIRICAL SOFTWARE ENGINEERING, 2023, 28 (02)
  • [42] Can Automated Test Case Generation Cope With Extract Method Validation?
    Silva, Indy P. S. C.
    Alves, Everton L. G.
    Machado, Patricia D. L.
    SBES'18: PROCEEDINGS OF THE XXXII BRAZILIAN SYMPOSIUM ON SOFTWARE ENGINEERING, 2018, : 152 - 161
  • [43] Test case generation and reduction by automated input-output analysis
    Saraph, P
    Last, M
    Kandel, A
    2003 IEEE INTERNATIONAL CONFERENCE ON SYSTEMS, MAN AND CYBERNETICS, VOLS 1-5, CONFERENCE PROCEEDINGS, 2003, : 768 - 773
  • [44] An automated test case generation approach by genetic simulated annealing algorithm
    Li, Bao-Lin
    Li, Zhi-Shu
    Zhang, Jing-Yu
    Sun, Ji-Rong
    ICNC 2007: THIRD INTERNATIONAL CONFERENCE ON NATURAL COMPUTATION, VOL 4, PROCEEDINGS, 2007, : 106 - +
  • [45] Automated Test Case Generation with SMT-Solving and Abstract Interpretation
    Peleska, Jan
    Vorobev, Elena
    Lapschies, Florian
    NASA FORMAL METHODS, 2011, 6617 : 298 - 312
  • [46] Automated test case generation based on UML activity diagram model
    Zhang, M., 2001, Beijing University of Aeronautics and Astronautics (BUAA) (27):
  • [47] Preparation Method in Automated Test Case Generation using Machine Learning
    Kikuma, Kazuhiro
    Yamada, Takeshi
    Sato, Koki
    Ueda, Kiyoshi
    SOICT 2019: PROCEEDINGS OF THE TENTH INTERNATIONAL SYMPOSIUM ON INFORMATION AND COMMUNICATION TECHNOLOGY, 2019, : 393 - 398
  • [48] Automated Test Case Generation for Service Composition from Event Logs
    Salva, Sebastien
    Sue, Jarod
    2023 38TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING WORKSHOPS, ASEW, 2023, : 127 - 134
  • [49] Automated Test Input Generation for Android: Towards Getting There in an Industrial Case
    Zheng, Haibing
    Li, Dengfeng
    Liang, Beihai
    Zeng, Xia
    Zheng, Wujie
    Deng, Yuetang
    Lam, Wing
    Yang, Wei
    Xie, Tao
    2017 IEEE/ACM 39TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING: SOFTWARE ENGINEERING IN PRACTICE TRACK (ICSE-SEIP 2017), 2017, : 253 - 262
  • [50] Automated Test Case Generation from Input Specification in Natural Language
    Li, Tianyu
    Lu, Xiuwen
    Xu, Hui
    2022 IEEE INTERNATIONAL SYMPOSIUM ON SOFTWARE RELIABILITY ENGINEERING WORKSHOPS (ISSREW 2022), 2022, : 258 - 261