首页    期刊浏览 2024年09月19日 星期四
登录注册

文章基本信息

  • 标题:Regression Test Selection for C# Programs
  • 本地全文:下载
  • 作者:Nashat Mansour ; Wael Statieh
  • 期刊名称:Advances in Software Engineering
  • 印刷版ISSN:1687-8655
  • 电子版ISSN:1687-8663
  • 出版年度:2009
  • 卷号:2009
  • DOI:10.1155/2009/535708
  • 出版社:Hindawi Publishing Corporation
  • 摘要:We present a regression test selection technique for C# programs. C# is fairly new and is often used within the Microsoft .Net framework to give programmers a solid base to develop a variety of applications. Regression testing is done after modifying a program. Regression test selection refers to selecting a suitable subset of test cases from the original test suite in order to be rerun. It aims to provide confidence that the modifications are correct and did not affect other unmodified parts of the program. The regression test selection technique presented in this paper accounts for C#.Net specific features. Our technique is based on three phases; the first phase builds an Affected Class Diagram consisting of classes that are affected by the change in the source code. The second phase builds a C# Interclass Graph (CIG) from the affected class diagram based on C# specific features. In this phase, we reduce the number of selected test cases. The third phase involves further reduction and a new metric for assigning weights to test cases for prioritizing the selected test cases. We have empirically validated the proposed technique by using case studies. The empirical results show the usefulness of the proposed regression testing technique for C#.Net programs.
国家哲学社会科学文献中心版权所有