• DocumentCode
    2087735
  • Title

    An Effective Regression Testing Approach for PHP Web Applications

  • Author

    Marback, Aaron ; Do, Hyunsook ; Ehresmann, Nathan

  • Author_Institution
    Dept. of Comput. Sci., North Dakota State Univ., Fargo, ND, USA
  • fYear
    2012
  • fDate
    17-21 April 2012
  • Firstpage
    221
  • Lastpage
    230
  • Abstract
    Web applications change and are upgraded frequently due to security attacks, feature updates, or user preference changes. These fixes often involve small patches or revisions, but still, testers need to perform regression testing on their products to ensure that the changes have not introduced new faults. Applying regression testing to the entire product, however, can be very expensive, and often, companies cannot afford to do this because, typically, the turnaround time to release patches is expected to be short. One solution is focusing only on the areas of code that have been changed and performing regression testing on them. In this way, companies can provide quick patches more dependably whenever they encounter security breaches. In this paper, we propose a new regression testing approach that is applied to frequently patched web applications, considering security problems, and in particular, focusing on PHP programs. Our approach identifies the affected areas by code changes using impact analysis and generates new test cases for the impacted areas by changes using program slices considering both numeric and string input values. To facilitate our approach, we implemented a PHP Analysis and Regression Testing Engine (PARTE) and performed a controlled experiment using open source web applications. The results show that our approach is effective in reducing the cost of regression testing for frequently patched web applications.
  • Keywords
    Internet; automatic test pattern generation; program slicing; program testing; public domain software; regression analysis; security of data; string matching; PARTE; PHP Web applications; PHP analysis and regression testing engine; PHP programs; code changes; controlled experiment; feature updates; frequently patched Web applications; impact analysis; numeric input values; open source Web applications; program slices; regression testing approach; security attacks; security breaches; string input values; test case generation; user preference changes; Arrays; Companies; Engines; Generators; Security; Testing; XML; PHP web applications; Regression testing; impact analysis; test case generation;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Software Testing, Verification and Validation (ICST), 2012 IEEE Fifth International Conference on
  • Conference_Location
    Montreal, QC
  • Print_ISBN
    978-1-4577-1906-6
  • Type

    conf

  • DOI
    10.1109/ICST.2012.102
  • Filename
    6200122