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 条
  • [1] Automated test case generation for spreadsheets
    Fisher, M
    Cao, MM
    Rothermel, G
    Cook, CR
    Burnett, MM
    ICSE 2002: PROCEEDINGS OF THE 24TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, 2002, : 141 - 151
  • [2] Teaching automated test case generation
    Chen, TY
    Kuo, FC
    Zhou, ZQ
    QSIC 2005: FIFTH INTERNATIONAL CONFERENCE ON QUALITY SOFTWARE, PROCEEDINGS, 2005, : 327 - 332
  • [3] Hyperemesis gravidarum in the Medical Birth Registry of Norway - a validity study
    Vikanes, Ase
    Magnus, Per
    Vangen, Siri
    Lomsdal, Solvi
    Grjibovski, Andrej M.
    BMC PREGNANCY AND CHILDBIRTH, 2012, 12
  • [4] Hyperemesis gravidarum in the Medical Birth Registry of Norway – a validity study
    Åse Vikanes
    Per Magnus
    Siri Vangen
    Sølvi Lomsdal
    Andrej M Grjibovski
    BMC Pregnancy and Childbirth, 12
  • [5] Towards Automated Test Case Generation Maturity
    Rueda, Urko
    Kifetew, Fitsum
    Devroey, Xavier
    2019 IEEE/ACM 12TH INTERNATIONAL WORKSHOP ON SEARCH-BASED SOFTWARE TESTING (SBST 2019), 2019, : 9 - 10
  • [6] Automated Coverage Calculation and Test Case Generation
    Morrison, G. C.
    Inggs, C. P.
    Visser, W. C.
    PROCEEDINGS OF THE SOUTH AFRICAN INSTITUTE FOR COMPUTER SCIENTISTS AND INFORMATION TECHNOLOGISTS CONFERENCE, 2012, : 84 - 93
  • [7] Test case design and generation for automated testing
    Schroeder, PJ
    Gopu, V
    8TH WORLD MULTI-CONFERENCE ON SYSTEMICS, CYBERNETICS AND INFORMATICS, VOL I, PROCEEDINGS: INFORMATION SYSTEMS, TECHNOLOGIES AND APPLICATIONS, 2004, : 281 - 286
  • [8] RESTful API Automated Test Case Generation
    Arcuri, Andrea
    2017 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE QUALITY, RELIABILITY AND SECURITY (QRS), 2017, : 9 - 20
  • [9] Automated Test Case Generation for BDI Agents
    Low C.K.
    Chen T.Y.
    Rönnquist R.
    Autonomous Agents and Multi-Agent Systems, 1999, 2 (4) : 311 - 332
  • [10] Automated functional conformance test generation for semantic web services
    Paradkar, Amit M.
    Sinha, Avik
    Williams, Clay
    Johnson, Robert D.
    Outterson, Susan
    Shriver, Charles
    Liang, Carol
    2007 IEEE INTERNATIONAL CONFERENCE ON WEB SERVICES, PROCEEDINGS, 2007, : 110 - +