首页 | 本学科首页   官方微博 | 高级检索  
     检索      

上下文无关文法测试充分性
引用本文:李虎,金茂忠,高仲仪,刘超.上下文无关文法测试充分性[J].北京航空航天大学学报,2003,29(10):869-872.
作者姓名:李虎  金茂忠  高仲仪  刘超
作者单位:北京航空航天大学 计算机学院, 北京 100083
摘    要:讨论了文法测试的基本概念,分析了文法测试的特点、应用场景及其与一般软件测试的异同.形式化地定义了上下文无关文法的测试充分性准则,提出了一个上下文无关文法的测试充分性准则族.分析了该准则族中各准则之间的包含关系,以及这种包含关系与揭示文法所特有的2类缺陷的能力之间的关系. 计算和比较了准则族中各准则的测试集规模复杂性.为了评价文法的测试开销,定义了一个上下文无关文法的测试复杂性度量,该度量能够从测试充分性的角度反映测试一个文法的难易程度和测试开销的大小. 

关 键 词:上下文无关文法    文法测试    测试充分性准则    测试复杂性
文章编号:1001-5965(2003)10-0869-04
收稿时间:2003-06-05
修稿时间:2003年6月5日

On adequate testing of context-free grammars
Li Hu,Jin Maozhong,Gao Zhongyi,Liu Chao.On adequate testing of context-free grammars[J].Journal of Beijing University of Aeronautics and Astronautics,2003,29(10):869-872.
Authors:Li Hu  Jin Maozhong  Gao Zhongyi  Liu Chao
Institution:School of Computer Science and Technology, Beijing University of Aeronautics and Astronautics, Beijing 100083, China
Abstract:Grammar testing was discussed, including related concepts, its characteristics, application scenarios, and a comparison with traditional software testing. Test adequacy criterion of context free grammar was formally defined and a family of grammar testing criteria was proposed. A formal analysis of the subsume relation between test adequacy criteria in the family was presented, and how the subsume relation between adequacy criteria guarantees a better fault detecting in the context of two classes of faults specific to grammar was also proved. Size complexity of the test adequacy criteria in the family was computed and compared. A grammar testing complexity metric was also developed, which can reflect the difficulty and effort to testing a grammar from the view of test adequacy.
Keywords:context  free grammar  grammar testing  test adequacy criterion  test complexity
本文献已被 CNKI 维普 万方数据 等数据库收录!
点击此处可从《北京航空航天大学学报》浏览原始摘要信息
点击此处可从《北京航空航天大学学报》下载免费的PDF全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号