loading
Papers Papers/2022 Papers Papers/2022

Research.Publish.Connect.

Paper

Authors: Tobias Landsberg 1 ; Christian Dietrich 2 and Daniel Lohmann 1

Affiliations: 1 Leibniz Universität Hannover, Germany ; 2 Technische Universität Hamburg, Germany

Keyword(s): Regression Test Selection, Testing, Continuous Integration, Static Analysis.

Abstract: We describe TASTING, an approach for efficiently selecting and reusing regression-test executions across program changes, branches, and variants in continuous integration settings. Instead of detecting changes between two variants of the software-under-test, TASTING recursively composes hashes of the defining elements with all their dependencies on AST-level at compile time into a semantic fingerprint of the test and its execution environment. This fingerprint is easy to store and remains stable across changes if the test’s run-time behavior is not affected. Thereby, we can reuse test results across the history, multiple branches, and static compile-time variants. We applied TASTING to three open-source projects (Zephyr, OpenSSL, FFmpeg). Over their development history, we can omit between 10 percent (FFmpeg) and 95 percent (Zephyr) of all test executions at a moderate increase in build time. Furthermore, TASTING enables even higher savings across multiple checkouts (e.g., forks, bra nches, clones) and static software variants. Over the first changes to 131 OpenSSL forks, TASTING avoids 56 percent redundant test executions; for the Zephyr test matrix (64 variants), we reduce the number of test executions by 94 percent. (More)

CC BY-NC-ND 4.0

Sign In Guest: Register as new SciTePress user now for free.

Sign In SciTePress user: please login.

PDF ImageMy Papers

You are not signed in, therefore limits apply to your IP address 3.144.109.5

In the current month:
Recent papers: 100 available of 100 total
2+ years older papers: 200 available of 200 total

Paper citation in several formats:
Landsberg, T.; Dietrich, C. and Lohmann, D. (2022). TASTING: Reuse Test-case Execution by Global AST Hashing. In Proceedings of the 17th International Conference on Software Technologies - ICSOFT; ISBN 978-989-758-588-3; ISSN 2184-2833, SciTePress, pages 33-45. DOI: 10.5220/0011139200003266

@conference{icsoft22,
author={Tobias Landsberg. and Christian Dietrich. and Daniel Lohmann.},
title={TASTING: Reuse Test-case Execution by Global AST Hashing},
booktitle={Proceedings of the 17th International Conference on Software Technologies - ICSOFT},
year={2022},
pages={33-45},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0011139200003266},
isbn={978-989-758-588-3},
issn={2184-2833},
}

TY - CONF

JO - Proceedings of the 17th International Conference on Software Technologies - ICSOFT
TI - TASTING: Reuse Test-case Execution by Global AST Hashing
SN - 978-989-758-588-3
IS - 2184-2833
AU - Landsberg, T.
AU - Dietrich, C.
AU - Lohmann, D.
PY - 2022
SP - 33
EP - 45
DO - 10.5220/0011139200003266
PB - SciTePress