Ir al contenido

Documat


Full predicate coverage for testing SQL database queries

    1. [1] Universidad de Oviedo

      Universidad de Oviedo

      Oviedo, España

  • Localización: Actas de las Jornadas de Ingeniería del Software y Bases de Datos (JISBD´11), 2011, ISBN 978-84-9749-486-1, págs. 683-684
  • Idioma: inglés
  • Enlaces
  • Resumen
    • In the field of database applications a considerable part of the business logic is implemented using a semi-declarative language: the Structured Query Language (SQL). Because of the different semantics of SQL compared to other procedural languages, the conventional coverage criteria for testing arenot directly applicable. This paper presents a criterion specifically tailored forSQL queries (SQLFpc). It is based on Masking Modified Condition DecisionCoverage (MCDC) or Full Predicate Coverage and takes into account a wide range of the syntax and semantics of SQL, including selection, joining, grouping, aggregations, subqueries, case expressions and null values. The criterion assesses the coverage of the test data in relation to the query that is executed and it is expressed as a set of rules that are automatically generated and efficiently evaluated against a test database. The use of the criterion is illustrated in a case study which includes complex queries.


Fundación Dialnet

Mi Documat

Opciones de artículo

Opciones de compartir

Opciones de entorno