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

文章基本信息

  • 标题:A formal approach to testing programs in practice
  • 本地全文:下载
  • 作者:Liu Shaoying ; Shen Wuwei ; Nakajima Shin
  • 期刊名称:Computer Science and Information Systems
  • 印刷版ISSN:1820-0214
  • 电子版ISSN:2406-1018
  • 出版年度:2012
  • 卷号:9
  • 期号:4
  • 页码:1469-1491
  • DOI:10.2298/CSIS120301050L
  • 出版社:ComSIS Consortium
  • 摘要:

    A program required to be tested in practice often has no available source code for some reason and how to adequately test such a program is still an open problem. In this paper, we describe a formal specification-based testing approach to tackle this challenge. The principal idea is first to formalize the informal requirements into formal operation specifications that take the interface scenarios of the program into account, and then utilize the specifications for test case generation and test result analysis. An example and case study of applying the approach to an IC card system is presented to illustrate its usage and analyze its performance.

  • 关键词:specification-based testing; formal specification; black-box testing
国家哲学社会科学文献中心版权所有