• Title of article

    Building test cases and oracles to automate the testing of web database applications

  • Author/Authors

    Ran، نويسنده , , Lihua and Dyreson، نويسنده , , Curtis and Andrews، نويسنده , , Anneliese and Bryce، نويسنده , , Renée and Mallery، نويسنده , , Christopher، نويسنده ,

  • Issue Information
    ماهنامه با شماره پیاپی سال 2009
  • Pages
    18
  • From page
    460
  • To page
    477
  • Abstract
    Many organizations rely on web applications that use back-end databases to store important data. Testing such applications requires significant effort. Manual testing alone is often impractical, so testers also rely on automated testing techniques. However, current automated testing techniques may produce false positives (or false negatives) even in a perfectly working system because the outcome of a test case depends on the state of the database which changes over time as data is inserted and deleted. The Automatic Database Tester (AutoDBT) generates functional test cases that account for database updates. AutoDBT takes as input a model of the application and a set of testing criteria. The model consists of a state transition diagram that shows how users navigate pages, a data specification that captures how data flows, and an update specification that shows how the database is updated. AutoDBT generates guard queries to determine whether the database is in a state conducive to performing and evaluating tests. AutoDBT also generates partial oracles to help validate whether a back-end database is updated correctly during testing. This paper describes the design of AutoDBT, a prototype implementation, several experiments with the prototype, and four case studies.
  • Keywords
    Software Testing , Database modification , Functional testing , web applications
  • Journal title
    Information and Software Technology
  • Serial Year
    2009
  • Journal title
    Information and Software Technology
  • Record number

    2374457