首页    期刊浏览 2024年11月25日 星期一
登录注册

文章基本信息

  • 标题:TEST CASE GENERATION AND PRIORITIZATION BASED ON UML BEHAVIORAL MODELS
  • 本地全文:下载
  • 作者:AJAY KUMAR JENA ; SANTOSH KUMAR SWAIN ; DURGA PRASAD MOHAPATRA
  • 期刊名称:Journal of Theoretical and Applied Information Technology
  • 印刷版ISSN:1992-8645
  • 电子版ISSN:1817-3195
  • 出版年度:2015
  • 卷号:78
  • 期号:3
  • 出版社:Journal of Theoretical and Applied
  • 摘要:Test case prioritization (TCP) techniques have been proven to be beneficial for improving testing activities. Prioritized test suites are found using different techniques of prioritization. While code coverage based prioritization techniques are found to be used by most scholars, test case prioritization based on UML behavioral models has not been given much attention so far. We propose a novel approach for generating and prioritizing test cases using UML sequence and interaction overview diagrams. First, we convert the interaction overview diagram to interaction Graph (IG) and sequence diagram to Message Sequence Dependency Graph (MSDG). An intermediate graph known as Sequence Interaction Graph (SIG) is generated by combining MSDG and IG. From SIG, we generate the test scenarios and subsequently the test cases. For test case prioritization, the first task is to convert the SIG into another graph known as Dependency Graph (DG). Then, we assign weights to each node of the DG according to its impact using backward slices and based on condition criticality. Further, we calculate the weights of each basic path. According to these weights, finally, we prioritize the test cases. We have used the impact, complexity and criticality of the elements present in the model for the prioritization of test cases. The results obtained by our approach indicates that the proposed technique is efficient and effective in prioritizing (ordering) the test cases using UML models. Our proposed approach achieves higher Average Percentage of Fault Detection (APFD) compared to other related approaches.
  • 关键词:Test case; Backward Slicing; Dependency Graph; Code Coverage; Prioritization; Interaction Graph.
国家哲学社会科学文献中心版权所有