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

文章基本信息

  • 标题:Test Selection on Extended Finite State Machines with Provable Guarantees
  • 本地全文:下载
  • 作者:Bo Guo ; Mahadevan Subramaniam
  • 期刊名称:Journal of Software Engineering and Applications
  • 印刷版ISSN:1945-3116
  • 电子版ISSN:1945-3124
  • 出版年度:2013
  • 卷号:6
  • 期号:9
  • 页码:500-510
  • DOI:10.4236/jsea.2013.69060
  • 出版社:Scientific Research Publishing
  • 摘要:Building high confidence regression test suites to validate new system versions is a challenging problem. A modelbased approach to build a regression test suite from a given test suite is described. The generated test suite includes every test that will traverse a change performed to produce the new version, and consists of only such tests to reduce the testing costs. Finite state machines extended with typed variables (EFSMs) are used to model systems and system changes are mapped to EFSM transition changes adding/deleting/replacing EFSM transitions and states. Tests are a sequence of input and expected output messages with concrete parameter values over the supported data types. An invariant is formulated to characterize tests whose runtime behavior can be accurately predicted by analyzing their descriptions along with the model. Incremental procedures to efficiently evaluate the invariant and to select tests for regression are developed. Overlaps among the test descriptions are exploited to extend the approach to simultaneously select multiple tests to reduce the test selection costs. Effectiveness of the approach is demonstrated by applying it to several protocols, Web services, and model programs extracted from a popular testing benchmark. Our experimental results show that the proposed approach is economical for regression test selection in all these examples. For all these examples, the proposed approach is able to identify all tests exercising changes more efficiently than brute-force symbolic evaluation.
  • 关键词:Formal Methods; Model-Based Software Testing; Regression Testing; Extended Finite State Machines
国家哲学社会科学文献中心版权所有