• DocumentCode
    473305
  • Title

    Automatic Result Verification for the Functional Testing of a Query Language

  • Author

    Binnig, Carsten ; Kossmann, Donald ; Lo, Eric ; Saenz-Badillos, Angel

  • Author_Institution
    Univ. of Heidelberg, Heidelberg
  • fYear
    2008
  • fDate
    7-12 April 2008
  • Firstpage
    1534
  • Lastpage
    1536
  • Abstract
    Functional testing of a query language is a challenging task in practice. In order to reveal errors in the query processing functionality, it is necessary to verify the actual result of a test query with the expected correct result. However, automatically computing the expected query result of an arbitrary test query is not trivial. One solution is to first generate a set of test database instances and test queries and then to compute the expected result for each test query over the individual test database instances. The problem of this solution is that many test queries might return an empty query result, which is not interesting for the functional testing of a query language. In this paper, we present a new approach to verify the result of a test query so as to facilitate the functional testing of a query language. Instead of first generating the database instance and then computing the expected result for each test query, we first create one or more interesting expected results for a given test query and then generate a test database instance for each combination of a test query and an expected result individually which returns the expected result if the test query is executed correctly. That way, we enable the verification of the actual result and allow an explicit definition of interesting test cases for the functional testing of a query language.
  • Keywords
    formal verification; functional languages; query languages; functional testing; query language; query processing functionality; test database; test query verification; Automatic testing; Character generation; Computer crashes; Database languages; Error correction; Filters; Query processing; Relational databases; System testing; Vehicle crash testing;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Data Engineering, 2008. ICDE 2008. IEEE 24th International Conference on
  • Conference_Location
    Cancun
  • Print_ISBN
    978-1-4244-1836-7
  • Electronic_ISBN
    978-1-4244-1837-4
  • Type

    conf

  • DOI
    10.1109/ICDE.2008.4497614
  • Filename
    4497614