Skip to main content

Lund University Publications

LUND UNIVERSITY LIBRARIES

Assertions in software testing : survey, landscape, and trends

Taromirad, Masoumeh and Runeson, Per LU orcid (2025) In International Journal on Software Tools for Technology Transfer 27. p.117-135
Abstract

Assertions are one of the most useful automated techniques for checking program’s behaviour and hence have been used for different verification and validation tasks. We provide an overview of the last two decades of research involving “assertions” in software testing. Based on a term-based search, we filtered the inclusion of relevant papers and synthesised them with respect to the problem addressed, the solution designed, and the evaluation conducted. The survey rendered 145 papers on assertions in software testing. After test oracle, the dominant problem is test generation, followed by engineering aspects of assertions. Solutions are typically embedded in tool prototypes and evaluated throughout a limited number of cases, whereas... (More)

Assertions are one of the most useful automated techniques for checking program’s behaviour and hence have been used for different verification and validation tasks. We provide an overview of the last two decades of research involving “assertions” in software testing. Based on a term-based search, we filtered the inclusion of relevant papers and synthesised them with respect to the problem addressed, the solution designed, and the evaluation conducted. The survey rendered 145 papers on assertions in software testing. After test oracle, the dominant problem is test generation, followed by engineering aspects of assertions. Solutions are typically embedded in tool prototypes and evaluated throughout a limited number of cases, whereas using large-scale industrial settings is still a noticeable method. We conclude that assertions would be worth more attention in future research, particularly regarding the new and emerging demands (e.g., verification of programs with uncertainty), for effective, applicable, and domain-specific solutions.

(Less)
Please use this url to cite or link to this publication:
author
and
organization
publishing date
type
Contribution to journal
publication status
published
subject
keywords
Assertions, Software testing, Literature survey
in
International Journal on Software Tools for Technology Transfer
volume
27
pages
19 pages
publisher
Springer
external identifiers
  • scopus:105005259061
ISSN
1433-2779
DOI
10.1007/s10009-025-00794-1
language
English
LU publication?
yes
additional info
Publisher Copyright: © The Author(s) 2025.
id
f470a888-c610-4d92-b5b9-9370c3e14cab
date added to LUP
2025-06-02 08:17:57
date last changed
2025-06-16 13:18:40
@article{f470a888-c610-4d92-b5b9-9370c3e14cab,
  abstract     = {{<p>Assertions are one of the most useful automated techniques for checking program’s behaviour and hence have been used for different verification and validation tasks. We provide an overview of the last two decades of research involving “assertions” in software testing. Based on a term-based search, we filtered the inclusion of relevant papers and synthesised them with respect to the problem addressed, the solution designed, and the evaluation conducted. The survey rendered 145 papers on assertions in software testing. After test oracle, the dominant problem is test generation, followed by engineering aspects of assertions. Solutions are typically embedded in tool prototypes and evaluated throughout a limited number of cases, whereas using large-scale industrial settings is still a noticeable method. We conclude that assertions would be worth more attention in future research, particularly regarding the new and emerging demands (e.g., verification of programs with uncertainty), for effective, applicable, and domain-specific solutions.</p>}},
  author       = {{Taromirad, Masoumeh and Runeson, Per}},
  issn         = {{1433-2779}},
  keywords     = {{Assertions; Software testing; Literature survey}},
  language     = {{eng}},
  month        = {{04}},
  pages        = {{117--135}},
  publisher    = {{Springer}},
  series       = {{International Journal on Software Tools for Technology Transfer}},
  title        = {{Assertions in software testing : survey, landscape, and trends}},
  url          = {{http://dx.doi.org/10.1007/s10009-025-00794-1}},
  doi          = {{10.1007/s10009-025-00794-1}},
  volume       = {{27}},
  year         = {{2025}},
}