2021
DOI: 10.1145/3477271
|View full text |Cite
|
Sign up to set email alerts
|

Enhancing Search-based Testing with Testability Transformations for Existing APIs

Abstract: Search-based software testing (SBST) has been shown to be an effective technique to generate test cases automatically. Its effectiveness strongly depends on the guidance of the fitness function. Unfortunately, a common issue in SBST is the so-called flag problem , where the fitness landscape presents a plateau that provides no guidance to the search. In this article, we provide a series of novel testability transformations aimed at providing guidance in the conte… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
3
1
1

Citation Types

0
12
0

Year Published

2022
2022
2024
2024

Publication Types

Select...
3
3
2

Relationship

3
5

Authors

Journals

citations
Cited by 25 publications
(12 citation statements)
references
References 56 publications
0
12
0
Order By: Relevance
“…Therefore, there is no info to use an HTTP parameter called mc gross of type double. As such parameter is used directly without being transformed, testability transformations with taint analysis might be able to address this problem [28], but such techniques would need to be extended to support getParameterMap() and Map.get.…”
Section: Open Problemsmentioning
confidence: 99%
See 2 more Smart Citations
“…Therefore, there is no info to use an HTTP parameter called mc gross of type double. As such parameter is used directly without being transformed, testability transformations with taint analysis might be able to address this problem [28], but such techniques would need to be extended to support getParameterMap() and Map.get.…”
Section: Open Problemsmentioning
confidence: 99%
“…This fails, as a random string is extremely unlikely to represent a valid value from a restricted set. This might be handled by providing such info in the OpenAPI/Swagger schema (which supports defining enumerations on string fields), or also by handling valueOf() in enumeration by extending the techniques in [28] to support it.…”
Section: Open Problemsmentioning
confidence: 99%
See 1 more Smart Citation
“…Lin et al [30] proposed a test seed synthesis approach to create complex test inputs. Arcuri et al [4] integrated testability transformations into API tests. Braione et al [6] combined symbolic execution and SBST for programs with complex inputs; (3) readability of generated tests: Daka et al [11] proposed to assign names for tests by summarizing covered coverage goals.…”
Section: Related Workmentioning
confidence: 99%
“…But, most of these open-source APIs are web services that work in isolation, and not part of a microservice architecture [2]. As part of industry-driven research [27], EvoMaster has been evaluated on industrial APIs as well (e.g., in [15]). But those were part of small systems.…”
Section: Introductionmentioning
confidence: 99%