Navigation auf zora.uzh.ch

Search ZORA

ZORA (Zurich Open Repository and Archive)

Migration von ZORA auf die Software DSpace

ZORA will change to a new software on 8th September 2025. Please note: deadline for new submissions is 21th July 2025!

Information & dates for training courses can be found here: Information on Software Migration.

Testing with Fewer Resources: An Adaptive Approach to Performance-Aware Test Case Generation

Grano, Giovanni; Laaber, Christoph; Panichella, Annibale; Panichella, Sebastiano (2021). Testing with Fewer Resources: An Adaptive Approach to Performance-Aware Test Case Generation. IEEE Transactions on Pattern Analysis and Machine Intelligence, 47(11):2332-2347.

Abstract

Automated test case generation is an effective technique to yield high-coverage test suites. While the majority of research effort has been devoted to satisfying coverage criteria, a recent trend emerged towards optimizing other non-coverage aspects. In this regard, runtime and memory usage are two essential dimensions: less expensive tests reduce the resource demands for the generation process and later regression testing phases. This study shows that performance-aware test case generation requires solving two main challenges: providing a good approximation of resource usage with minimal overhead and avoiding detrimental effects on both final coverage and fault detection effectiveness. To tackle these challenges, we conceived a set of performance proxies -inspired by previous work on performance testing- that provide a reasonable estimation of the test execution costs (i.e., runtime and memory usage). Thus, we propose an adaptive strategy, called aDynaMOSA, which leverages these proxies by extending DynaMOSA, a state-of-the-art evolutionary algorithm in unit testing. Our empirical study -involving 110 non-trivial Java classes- reveals that our adaptive approach generates test suite with statistically significant improvements in runtime (-25%) and heap memory consumption (-15%) compared to DynaMOSA. Additionally, aDynaMOSA has comparable results to DynaMOSA over seven different coverage criteria and similar fault detection effectiveness. Our empirical investigation also highlights that the usage of performance proxies (i.e., without the adaptiveness) is not sufficient to generate more performant test cases without compromising the overall coverage.

Additional indexing

Item Type:Journal Article, refereed, original work
Communities & Collections:03 Faculty of Economics > Department of Informatics
Dewey Decimal Classification:000 Computer science, knowledge & systems
Scopus Subject Areas:Physical Sciences > Software
Scope:Discipline-based scholarship (basic research)
Language:English
Date:1 November 2021
Deposited On:01 Nov 2019 07:04
Last Modified:20 Jun 2025 01:40
Publisher:Institute of Electrical and Electronics Engineers
ISSN:0098-5589
OA Status:Green
Publisher DOI:https://doi.org/10.1109/TSE.2019.2946773
Official URL:https://ieeexplore.ieee.org/document/8865437
Other Identification Number:merlin-id:18717
Download PDF  'Testing with Fewer Resources: An Adaptive Approach to Performance-Aware Test Case Generation'.
Preview
  • Content: Accepted Version

Metadata Export

Statistics

Citations

Dimensions.ai Metrics
16 citations in Web of Science®
14 citations in Scopus®
Google Scholar™

Altmetrics

Downloads

154 downloads since deposited on 01 Nov 2019
31 downloads since 12 months
Detailed statistics

Authors, Affiliations, Collaborations

Similar Publications