Abstract
Because program behaviors of database applications depend on the data used, code coverages do not effectively test database applications. Additionally, test coverages for database applications that focus on predicates in Structured Query Language (SQL) queries are not useful if the necessary predicates are omitted. In this paper, we present two new database applications using Plain Pairwise Coverage (PPC) and Selected Pairwise Coverage (SPC) for SQL queries called Plain Pairwise Coverage Testing (PPCT) and Selected Pairwise Coverage Testing (SPCT), respectively. These coverages are based on pairwise testing coverage, which employs selected elements in the SQL SELECT query as parameters. We also implement a coverage calculation tool and conduct case studies on two open source software systems. PPCT and SPCT can detect many faults, which are not detected by existing test methods based on predicates in the query. Furthermore, the case study suggests that SPCT can detect faults more efficiently than PPCT and the costs of SPCT can be further reduced by ignoring records filtered out by the conditions of the query.
Original language | English |
---|---|
Title of host publication | Proceedings - 2016 IEEE International Conference on Software Testing, Verification and Validation Workshops, ICSTW 2016 |
Publisher | Institute of Electrical and Electronics Engineers Inc. |
Pages | 92-101 |
Number of pages | 10 |
ISBN (Electronic) | 9781509018260 |
DOIs | |
Publication status | Published - 2016 Aug 1 |
Event | 9th IEEE International Conference on Software Testing, Verification and Validation Workshops, ICSTW 2016 - Chicago, United States Duration: 2016 Apr 10 → 2016 Apr 15 |
Other
Other | 9th IEEE International Conference on Software Testing, Verification and Validation Workshops, ICSTW 2016 |
---|---|
Country/Territory | United States |
City | Chicago |
Period | 16/4/10 → 16/4/15 |
Keywords
- combinatorial testing
- coverage
- database testing
- test data
ASJC Scopus subject areas
- Software
- Safety, Risk, Reliability and Quality