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 条
  • [21] Bacterio: Java']Java Mutation Testing Tool A Framework to Evaluate Quality of Tests Cases
    Reales Mateo, Pedro
    Polo Usaola, Macario
    2012 28TH IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE (ICSM), 2012, : 646 - 649
  • [22] PDDL4J: a planning domain description library for java']java
    Pellier, D.
    Fiorino, H.
    JOURNAL OF EXPERIMENTAL & THEORETICAL ARTIFICIAL INTELLIGENCE, 2018, 30 (01) : 143 - 176
  • [23] MPEG-J: Java']Java application engine in MPEG-4
    Swaminathan, V
    Fernando, G
    ISCAS 2000: IEEE INTERNATIONAL SYMPOSIUM ON CIRCUITS AND SYSTEMS - PROCEEDINGS, VOL I: EMERGING TECHNOLOGIES FOR THE 21ST CENTURY, 2000, : 44 - 47
  • [24] Hacking with Multi-touch for Java']Java (MT4j)
    Anslow, Craig
    Marshall, Stuart
    Noble, James
    Biddle, Robert
    MOBILE!'16: PROCEEDINGS OF THE 1ST INTERNATIONAL WORKSHOP ON MOBILE DEVELOPMENT, 2016, : 17 - 20
  • [25] A type-safe embedding of SQL into Java']Java using the extensible compiler framework J%
    Karakoidas, Vassilios
    Mitropoulos, Dimitris
    Louridas, Panagiotis
    Spinellis, Diomidis
    COMPUTER LANGUAGES SYSTEMS & STRUCTURES, 2015, 41 : 1 - 20
  • [26] J-Food: A Java Framework for Optimization Of Diet
    Mullen, James G.
    Proc. Internat. Conf. Math. Eng. Tech. Med. Biol. Sci., 1600, (457-460):
  • [27] A Framework for Automated Testing of Java']JavaScript Web Applications
    Artzi, Shay
    Dolby, Julian
    Jensen, Simon Holm
    Moller, Anders
    Tip, Frank
    2011 33RD INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE), 2011, : 571 - 580
  • [28] TSVD4J: Thread-Safety Violation Detection for Java']Java
    Rahman, Shanto
    Li, Chengpeng
    Shi, August
    2023 IEEE/ACM 45TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING: COMPANION PROCEEDINGS, ICSE-COMPANION, 2023, : 78 - 82
  • [29] Java']JavaRelationshipGraphs (JRG): Transforming Java']Java Projects into Graphs using Neo4j Graph Databases
    Arora, Ritu
    Goel, Sanjay
    PROCEEDINGS OF THE 2019 2ND INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING AND INFORMATION MANAGEMENT (ICSIM 2019) / 2019 2ND INTERNATIONAL CONFERENCE ON BIG DATA AND SMART COMPUTING (ICBDSC 2019), 2019, : 80 - 84
  • [30] S4J-Integrating SQL into Java']Java at Compiler-Level
    Richly, Keven
    Lorenz, Martin
    Oergel, Sebastian
    INFORMATION AND SOFTWARE TECHNOLOGIES, ICIST 2016, 2016, 639 : 300 - 315