Regression test cases generation based on automatic model revision

Nan Ye, Xin Chen, Wenxu Ding, Peng Jiang, Lei Bu, Xuandong Li

Research output: Chapter in Book/Report/Conference proceedingConference PaperResearchpeer-review

5 Citations (Scopus)


Regression testing is a widely used way to assure the quality of modified software. It requires executing a suite of test cases to ensure that modifications do not introduce any negative impact to software behavior. To collect test cases in the suite that can reveal modifications, different versions of software must be compared carefully. Existing approaches, relying on manual examination on programs or models to identify differences, are expensive. In the paper, we present a fully automatic approach to generating regression test cases based on activity diagram revision. By collecting execution traces and revising old activity diagrams, the approach firstly constructs new activity diagrams that can reveal software behavior changes. Then, both affected paths and new paths in activity diagrams are identified. Finally, an execution-based approach is applied to generate regression test cases whose execution can cover these paths. Experiments show the effectiveness of our approach.

Original languageEnglish
Title of host publicationProceedings - IEEE 6th International Symposium on Theoretical Aspects of Software Engineering, TASE 2012
PublisherIEEE, Institute of Electrical and Electronics Engineers
Number of pages8
ISBN (Print)9780769547510
Publication statusPublished - 2012
Externally publishedYes
EventInternational Symposium on Theoretical Aspects of Software Engineering 2012 - Beijing, China
Duration: 4 Jul 20126 Jul 2012
Conference number: 6th (Statement of peer review)


ConferenceInternational Symposium on Theoretical Aspects of Software Engineering 2012
Abbreviated titleTASE 2012
Internet address


  • automatic
  • generation
  • modelbased testing
  • regression testing

Cite this