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

文章基本信息

  • 标题:Invariant Detection Using Enhanced Autoinfer
  • 本地全文:下载
  • 作者:Sadia Ashraf ; Almas Abbasi
  • 期刊名称:Journal of Software
  • 印刷版ISSN:1796-217X
  • 出版年度:2017
  • 卷号:12
  • 期号:10
  • 页码:816-823
  • DOI:10.17706/jsw.12.10.816-823
  • 出版社:Academy Publisher
  • 摘要:AutoInfer is a tool that is the state of the art in invariant detection. Invariants are properties of program components that remain unchanged throughout the execution of that component. AutoInfer automatically detects invariants for the programs under test which may or may not have a few invariant already present in them. AutoInfer uses AutoTest to generate a test suite for a given Program under test. The test suite (TS) is generated randomly using routine coverage as the coverage criteria. The generated TS is run on the program to create a change profile for the program, which in turn is used to activate relevant templates to generate quantified expressions. These expressions are the candidate contracts. Candidate contracts when run against the test cases are validated if they do not fail any test case. AutoInfer’s results are heavily based on the generated Test Suite. The better the generated Test Suite is better the final contracts will be. The work in this paper proposes that using Whole Test Suite (WTS) generation instead of random generation to generate the TS will results in a faster generation of the TS and will capture more errors as compared to AutoInfer. WTS is the state of the art in TS generation so it will result in better coverage and an improved fault detection capability.
  • 其他关键词:Invariant detection, test oracles, software testing, AutoTest.
国家哲学社会科学文献中心版权所有