Ctest4J: A Practical Configuration Testing Framework for Java']Java

被引:0
|
作者
Wang, Shuai [1 ]
Lian, Xinyu [1 ]
Li, Qingyu [1 ]
Marinov, Darko [1 ]
Xu, Tianyin [1 ]
机构
[1] Univ Illinois, Urbana, IL 61801 USA
关键词
Configuration testing; Software testing; Software reliability;
D O I
10.1145/3663529.3663799
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
We present Ctest4J, a practical configuration testing framework for Java projects. Configuration testing is a recently proposed approach for fiding both misconfigurations and code bugs. Ctest4J addresses the limitations of configuration testing scripts from prior work, including lack of parallel test execution, poor maintainability due to external dependencies, limited integration with modern build systems, and the need for manual instrumentation of configuration API. Ctest4J is a unified framework to write, maintain, and execute configuration tests (Ctests) and integrates with multiple testing frameworks ( JUnit4, JUnit5, and TestNG) and build systems (Maven and Gradle). With Ctest4J, Ctests can be maintained similarly to regular unit tests. Ctest4J also provides a utility for automated code instrumentation for common configuration API. We evaluate Ctest4J on 12 open-source projects. We show that Ctest4J effectively enables configuration testing for these projects and speeds up Ctest execution by 3.4X compared to prior scripts. Ctest4J can be found at https://github.com/xlab-uiuc/ctest4j.
引用
收藏
页码:562 / 566
页数:5
相关论文
共 50 条
  • [1] FL4J-Federated Learning Framework for Java']Java
    Kholod, Ivan I.
    Efremov, Mikhail A.
    Kolpashikov, Maxim A.
    Vasilyev, Andrey V.
    Tabakov, Pavel L.
    Aristarhov, Ilya E.
    INTELLIGENT DISTRIBUTED COMPUTING XIV, 2022, 1026 : 225 - 234
  • [2] A framework of reachability testing for Java']Java multithread programs
    Li, SQ
    Chen, HY
    Sun, YX
    2004 IEEE INTERNATIONAL CONFERENCE ON SYSTEMS, MAN & CYBERNETICS, VOLS 1-7, 2004, : 2730 - 2734
  • [3] A framework for table driven testing of Java']Java classes
    Daley, N
    Hoffman, D
    Strooper, P
    SOFTWARE-PRACTICE & EXPERIENCE, 2002, 32 (05): : 465 - 493
  • [4] An extensible framework for testing distributed Java']Java applications
    Ghosh, S
    Bawa, N
    Craig, G
    Kalgaonkar, K
    JOURNAL OF RESEARCH AND PRACTICE IN INFORMATION TECHNOLOGY, 2001, 33 (02): : 120 - 132
  • [5] Java']Java enabled MPEG-4 services: The MPEG-J framework
    Becchini, R
    De Petris, G
    INTELLIGENCE IN SERVICES AND NETWORKS: PAVING THE WAY FOR AN OPEN SERVICE MARKET, 1999, 1597 : 373 - 384
  • [6] J-food: A Java']Java framework for optimization of diet
    Mullen, JG
    METMBS'03: PROCEEDINGS OF THE INTERNATIONAL CONFERENCE ON MATHEMATICS AND ENGINEERING TECHNIQUES IN MEDICINE AND BIOLOGICAL SCIENCES, 2003, : 457 - 460
  • [7] TestEra: A novel framework for automated testing of Java']Java programs
    Marinov, D
    Khurshid, S
    16TH ANNUAL INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING (ASE 2001), PROCEEDINGS, 2001, : 22 - 31
  • [8] Framework for testing multi-threaded Java']Java programs
    Edelstein, O
    Farchi, E
    Goldin, E
    Nir, Y
    Ratsaby, G
    Ur, S
    CONCURRENCY AND COMPUTATION-PRACTICE & EXPERIENCE, 2003, 15 (3-5): : 485 - 499
  • [9] Prut4j: Protocol Unit Testing fo(u)r Java']Java
    Slob, Florian Joost
    Jongmans, Sung-Shik
    2021 14TH IEEE CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION (ICST 2021), 2021, : 448 - 453
  • [10] Does the Choice of Configuration Framework Matter for Developers? Empirical Study on 11 Java']Java Configuration Frameworks
    Sayagh, Mohammed
    Dong, Zhen
    Andrzejak, Artur
    Adams, Bram
    2017 IEEE 17TH INTERNATIONAL WORKING CONFERENCE ON SOURCE CODE ANALYSIS AND MANIPULATION (SCAM), 2017, : 41 - 50