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 条
  • [31] LittleDarwin: A Feature-Rich and Extensible Mutation Testing Framework for Large and Complex Java']Java Systems
    Parsai, Ali
    Murgia, Alessandro
    Demeyer, Serge
    FUNDAMENTALS OF SOFTWARE ENGINEERING, FSEN 2017, 2017, 10522 : 148 - 163
  • [32] A Development and Configuration framework of Web Information System Based on Java']JavaEE
    Wang, Zhenwu
    2014 IEEE INTERNATIONAL CONFERENCE ON GRANULAR COMPUTING (GRC), 2014, : 316 - 319
  • [33] Does the Choice of Configuration Framework Matter for Developers? Empirical Study on 11 Java Configuration Frameworks
    Sayagh, Mohammed
    Dong, Zhen
    Andrzejak, Artur
    Adams, Bram
    Proceedings - 2017 IEEE 17th International Working Conference on Source Code Analysis and Manipulation, SCAM 2017, 2017, 2017-October : 41 - 50
  • [34] Slicer4J: A dynamic slicer for Java
    Ahmed, Khaled
    Lis, Mieszko
    Rubin, Julia
    ESEC/FSE 2021 - Proceedings of the 29th ACM Joint Meeting European Software Engineering Conference and Symposium on the Foundations of Software Engineering, 2021, : 1570 - 1574
  • [35] CF4J: Collaborative Filtering for Java
    Ortega, Fernando
    Zhu, Bo
    Bobadilla, Jesús
    Hernando, Antonio
    arXiv,
  • [36] TCFI4J: A Trust Enhanced Control Flow Integrity in Java']Java Virtual Machine
    Mei, Songzhu
    Cheng, Yong
    Ren, Jiangchun
    Wang, Zhiying
    Ma, Jun
    Wu, Jiangjiang
    Zhao, Yuliang
    APPLIED SCIENCE, MATERIALS SCIENCE AND INFORMATION TECHNOLOGIES IN INDUSTRY, 2014, 513-517 : 1477 - 1484
  • [37] The MPEG-4 Java']Java API & MPEGlets - Creating interactive MPEG-4 content with MPEG-J
    Walsh, AE
    DR DOBBS JOURNAL, 2002, 27 (04): : 40 - +
  • [38] Sip4J: Statically Inferring Access Permission Contracts for Parallelising Sequential Java']Java Programs
    Sadiq, Ayesha
    Li, Li
    Li, Yuan-Fang
    Ahmed, Ijaz
    Ling, Sea
    34TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING (ASE 2019), 2019, : 1098 - 1101
  • [39] CC4J - Code coverage for Java']Java - A load-time adaptation success story
    Kniesel, G
    Austermann, M
    COMPONENT DEPLOYMENT, 2002, 2370 : 155 - 169
  • [40] Scientific scripting in Java']Java with JS']JShellLab and application to deep learning using DeepLearning4j
    Papadimitriou, Stergios
    INTERNATIONAL JOURNAL OF MODELING SIMULATION AND SCIENTIFIC COMPUTING, 2020, 11 (04)