This paper provides an approach for selective black-box model-based regression testing for web applications, emphasizing testing proper mitigation of external failures in web applications. This approach uses an existing model of web applications, FSMWeb, and extends its test generation capabilities to include selective regression testing of fail-safe behavior. It classifies existing tests as reusable, retestable, and obsolete. The approach reduces the number of tests compared to a full retest between 3% to 81% depending on the type of changes in the example and by over 99% in the case study. Removing reusable requirements reduced test requirements between 49% to 65% in the case study. The approach also uses partial regeneration for new tests wherever possible.
Read full abstract