Title :
Regression Test Generation Approach Based on Tree-Structured Analysis
Author :
Zhang, Zhihao ; Huang, Jun ; Zhang, Bo ; Lin, Jinlong ; Chen, Xiaolan
Author_Institution :
Sch. of Software & Microelectron., Peking Univ., Beijing, China
Abstract :
Regression test generation is an important process to make sure that changes of program have no unintended side-effects. To achieve full confidence, many projects have to re-run all the test cases for entire program, which makes it a time consuming and expensive activity. In this paper, a code based regression testing approach is proposed to generate selected test suites for unit testing. The framework contains five phases: program change detection phase, logical verification phase, branch pruning phase, test case prioritization phase and test suite generation phase. These five phases can achieve detection of program´s modification, coding standard, test case pruning, test case prioritizing and inputs generation for regression test cases respectively. A prototype based on this framework is implemented using logical tree-structured analysis, and the preliminary experiment shows that proposed approach can provide efficient regression test suites.
Keywords :
program diagnostics; regression analysis; branch pruning phase; code based regression testing; coding standard; logical tree-structured analysis; logical verification phase; program change detection phase; program modification detection; regression test generation approach; test case prioritization phase; test case pruning; test suite generation phase; Automatic testing; Computer architecture; Life testing; Logic testing; Phase detection; Prototypes; Regression tree analysis; Software maintenance; Software testing; Tree data structures; automated test generation; regression test; software verification; white-box test;
Conference_Titel :
Computational Science and Its Applications (ICCSA), 2010 International Conference on
Conference_Location :
Fukuoka
Print_ISBN :
978-0-7695-3999-7
Electronic_ISBN :
978-1-4244-6462-3
DOI :
10.1109/ICCSA.2010.59