机构地区: 湖南大学信息科学与工程学院软件学院
出 处: 《计算机工程与科学》 2004年第12期20-22,56,共4页
摘 要: 回归测试是软件测试和维护过程中的一种重要过程 ,当软件经过修改后 ,为确保程序修改的正确性以及验证修改没有对其它部分产生负面影响 ,回归测试是不可避免的。本文首先构造成员依赖图 ,再根据图中各成员之间的关系构建类成员防火墙 ,分析程序修改所影响的部分。在回归测试中并不需要全部重新测试 ,仅仅对修改以及修改所影响的部分进行重新测试 。 Regression test is an important activity in the process of software testing and maintenance, in order to assure the validity of the modified program and validate the other parts of the software have not been adversely affected by the modifications after the software is modified, thus regression testing is not avoidable. This paper first constructs the member dependence graph, builds class member firewalls according to the relationships of the member dependence graph, and analyzes the modified impact. In regression testing, it is unnecessary to retest all cases. Only retesting the modified parts and the modified impact ones reduces the time and cost of testing.