Publication
Title
Challenges and perils of testing database manipulation code
Author
Abstract
Software testing enable development teams to maintain the quality of a software system while it evolves. The database manipulation code requires special attention in this context. However, it is often neglected and suffers from software maintenance problems. In this paper, we investigate the current state-of-the-practice in testing database manipulation code. We first analyse the code of 72 projects mined from Libraries.io to get an impression of the test coverage for database code. We confirm that the database is poorly tested: 46% of the projects did not cover with tests half of their database access methods, and 33% of the projects did not cover the database code at all. To understand the difficulties in testing database code, we analysed 532 questions on StackExchange sites and deduced a taxonomy. We found that developers mostly look for insights on general best practices to test database access code. They also have more technical questions related to DB handling, mocking, parallelisation or framework/tool usage. This investigation lays the basis for future research on improving database code testing.
Language
English
Source (journal)
Lecture notes in computer science. - Berlin, 1973, currens
Source (book)
Advanced Information Systems Engineering : proceedings of the 33rd International Conference on Advanced Information Systems Engineering, CAiSE 2021, Melbourne, VIC, Australia, June 28 – July 2, 2021
Source (series)
Lecture Notes in computer science ; 12751
Publication
Berlin : 2021
ISBN
978-3-030-79381-4
978-3-030-79382-1 [eBook]
DOI
10.1007/978-3-030-79382-1_14
Volume/pages
p. 229-245
ISI
000716947800014
Full text (Publisher's DOI)
Full text (open access)
UAntwerpen
Faculty/Department
Research group
Publication type
Subject
Affiliation
Publications with a UAntwerp address
External links
Web of Science
Record
Identifier
Creation 28.06.2021
Last edited 02.10.2024
To cite this reference