华南理工大学学报(自然科学版) ›› 2004, Vol. 32 ›› Issue (10): 51-55.

• • 上一篇    下一篇

模糊关系在软件系统测试中的应用

杨劲涛 郭荷清   

  1. 华南理工大学 计算机科学与工程学院‚广东 广州510640
  • 收稿日期:2004-06-03 出版日期:2004-10-20 发布日期:2015-09-08
  • 通信作者: 杨劲涛(1971-)‚男‚博士生‚主要从事软件工程、软件测试技术方面的研究. E-mail:yothomas@21cn.com
  • 作者简介:杨劲涛(1971-)‚男‚博士生‚主要从事软件工程、软件测试技术方面的研究.

Application of Fuzzy Relations to the Software System Testing

Yang Jin- tao   Guo He- qing   

  1. College of Computer Science&Engineering‚South China Univ.of Tech.‚Guangzhou510640‚Guangdong‚China
  • Received:2004-06-03 Online:2004-10-20 Published:2015-09-08
  • Contact: 杨劲涛(1971-)‚男‚博士生‚主要从事软件工程、软件测试技术方面的研究. E-mail:yothomas@21cn.com
  • About author:杨劲涛(1971-)‚男‚博士生‚主要从事软件工程、软件测试技术方面的研究.

摘要:  基于黑盒技术在分布式软件系统测试中的应用‚提出了系统位态和预期位态的概念.在执行系统测试时‚测试用例对系统位态具有控制作用‚系统位态与相应的预期位态则表现出模糊性‚运用模糊蕴涵逻辑进行研究得到了如下结果:测试用例对预期位态的作用关系是模糊控制关系‚其控制程度取决于软件的质量;基于这种模糊控制关系和模糊推理规则‚得到了被测软件通过测试的标准值‚使测试通过的判定得以量化;文中还得出了量化的系统测试通过准则‚并将其应用于自动化测试工具的改进‚有效地提高了测试效率‚降低了测试成本。

关键词:  软件系统测试, 模糊控制关系, 通过准则

Abstract: The concepts of system place-state (PS) and anticipative PS were firstly proposed based on the application of the black box technology to the system testing of distributed software.As the test case controls the system PS and a fuzzy occurs between the system PS and the anticipative PS‚the fuzzy implication logic was next used to study the sys-tem testing.It was then concluded that the action relation of the test case to the anticipative PS was a fuzzy control re-lation and that the degree of control depended on the quality of software.The standard value of the tested software to pass the test was then obtained from the fuzzy control relation and fuzzy inference rules‚thus quantifying the judgment for software to pass the test.Quantified pass-rules in the system testing were finally put forward and applied to improve the automatic testing tool‚by which the efficiency of the test improved and the test cost was reduced.

Key words:  software system testing, fuzzy control relation, pass-rule