arrow
Return

Diversity driven adaptive test generation for concurrent data structures

delete2018-11-01
delete10
PRE
AI
L
Linhai Ma
P
Peng Wu *
T
Tsong Yueh Chen
DOI:10.1016/j.infsof.2018.07.001delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
Context Testing concurrent data structures remains a notoriously challenging task, due to the nondeterminism of multi-threaded tests and the exponential explosion on the number of thread schedules. Objective: We propose an automated approach to generate a series of concurrent test cases in an adaptive manner, i.e., the next test cases are generated with the guarantee to discover the thread schedules that have not yet been activated by the previous test cases. Method Two diversity metrics are presented to induce such adaptive test cases from a static and a dynamic perspective, respectively. The static metric enforces the diversity in the program structures of the test cases; while the dynamic one enforces the diversity in their capabilities of exposing untested thread schedules. We implement three adaptive test generation approaches for C/C + + concurrent data structures, based on the stateof-the-art active testing engine Maple. Results: We then report an empirical study with 9 real-world C/C + + concurrent data structures, which demonstrates the efficiency of our test generation approaches in terms of the number of thread schedules discovered, as well as the time and the number of tests required for testing a concurrent data structure. Conclusion: Hence, by using diverse test cases derived from the static and dynamic perspectives, our adaptive test generation approaches can deliver a more efficient coverage of the thread schedules of the concurrent data structure under test.
Keywords:
Concurrent data structures
Test case diversity
Test case generation
Active testing
Adaptive random testing
AI Summary

AI Summary

Key information extracted from the uploaded paper, including a brief overview, abstract, background, key highlights, visual analysis, and future outlook.

Journal

Information and Software Technology cover
Information and Software Technology
IF:
4.3
Papers:
3.8K
Citations:
7.7K

Organization

C
chinese academy of sciences
Scholars:
56.7W
Papers: 45.0W
Citations: 704
Cited Papers

Cited Papers

Adaptive Random Testing: The ART of test case diversity
err2010-01-01
err267
errOAAI
errChen, Tsong Yueh; Kuo, Fei-Ching; Merkel, Robert G.; Tse, T. H.
errShare
errSave
Collisional timing of asteroids space weathering: A first approach
err2009-02-01
err0
PREAI
errP. Paolicchi; S. Marchi; M. Lazzarin; S. Magrin
errShare
errSave
A Similarity Metric for the Inputs of OO Programs and Its Application in Adaptive Random Testing
err2017-06-01
err23
PREAI
errChen, Jinfu; Kuo, Fei-Ching; Chen, Tsong Yueh; Towey, Dave; Su, Chenfei; Huang, Rubing
errShare
errSave
Superconductivity in Novel BiS2-Based Layered Superconductor LaO1-xFxBiS2
err2012-11-15
err0
errOAAI
errYoshikazu Mizuguchi; Satoshi Demura; Keita Deguchi; Yoshihiko Takano; Hiroshi Fujihisa; Yoshito Gotoh; Hiroki Izawa; Osuke Miura
errShare
errSave
Accounting for mesophyll conductance substantially improves 13C‐based estimates of intrinsic water‐use efficiency
err2020-10-25
err0
errOAAI
errWei Ting Ma; Guillaume Tcherkez; Xu Ming Wang; Rudi Schäufele; Hans Schnyder; Yusheng Yang; Xiao Ying Gong
errShare
errSave
Synthesis, Reactivity, X‐ray Crystal Structures and Electrochemical Behaviour of Water‐Soluble [Tris(pyrazolyl)borato]ruthenium(II) Complexes of 1,3,5‐Triaza‐7‐phosphaadamantane (PTA)
err2007-11-28
err0
PREAI
errSandra Bolaño; Jorge Bravo; Jesus Castro; M. Mar Rodríguez‐Rocha; M. Fátima C. Guedes da Silva; Armando J. L. Pombeiro; Luca Gonsalvi; Maurizio Peruzzini
errShare
errSave
The Oracle Problem in Software Testing: A Survey
err2015-05-01
err665
errOAAI
errBarr, Earl T.; Harman, Mark; McMinn, Phil; Shahbaz, Muzammil; Yoo, Shin
errShare
errSave
researcher View more