期刊文献+

对逻辑覆盖软件测试准则的公理化评估 被引量:9

Axiomatic Assessment of Logic Coverage Software Testing Criteria
下载PDF
导出
摘要 由于形式规格说明采用一种精确、一致、容易被机器自动处理的符号系统来描述软件需求,因而形式规格说明为测试用例的自动生成和软件功能的验证提供了基础.在基于形式规格说明的测试过程中逻辑覆盖测试准则是一组常用的测试准则,如何选择和使用其中的每个测试准则是应用这组测试准则时面临的主要问题.因此分析和比较这组测试准则中每个测试准则的性质将为测试工程师选择测试准则提供指导和帮助.对测试充分性准则的公理化评估是一种比较测试准则的方式,这种方式将对理想的测试准则的直觉需求定义为一觳椴馐宰荚蚴欠衤愀米楣砝捶治龊捅冉舷嘤Φ牟馐宰荚?描述了一组理想的逻辑覆盖测试准则应该具有的性质和用来确定一个测试充分性准则是否完全的生成算法.这组性质被形式化地定义为一组公理.利用这种形式化的定义,用定理的形式精确地给出了这些性质之间的关系.最后通过这组公理系统来评估现有的逻辑覆盖测试准则.评估的结果为测试人员在实际过程中选择逻辑覆盖测试准则提供了指导. Since formal specifications precisely describe the software requirements in a form that can be automatically manipulated, they can be used as the base for automatic test generation and software verification. Logic coverage criteria are the common criteria used in specification-based testing. The main problem of applying these criteria that test engineers face is how to appropriately select each criterion. Thus, the comparison and analysis of these criteria will give a guide to applying each criterion. Axiomatic assessment of test adequacy criteria is an approach to comparing test criteria. This approach defines the intuitive requirements of ideal test adequacy criteria as some axioms, then compares the test adequacy criteria by checking if they satisfy these axioms. This paper proposes some positive properties as the intuitive requirements of ideal logic coverage criteria, and gives a generating algorithm that is used to determine whether a logic coverage criterion is complete. These properties are formally defined as an axioms system. With these formal definitions, the relations among the logic coverage criteria are described as some theorems. Finally, the common logic coverage criteria are assessed against the axioms system. From the assessing result, testers can get some conclusions that help them apply these criteria in practice.
作者 刘玲 缪淮扣
出处 《软件学报》 EI CSCD 北大核心 2004年第9期1301-1310,共10页 Journal of Software
基金 国家自然科学基金~~
关键词 基于规格说明的测试 逻辑覆盖测试准则 公理化评估 测试充分性准则 Algorithms Formal logic Specifications Testing
  • 相关文献

参考文献14

  • 1[1]Goodenough JB, Gerhart SL. Toward a theory of test data selection. IEEE Trans. on Software Engineering, 1975,1(2):156~173.
  • 2[2]Amman P, Offutt J. Using formal methods to derive test frames in category-partition testing. In: IEEE 9th Annual Conf. on Computer Assurance. Gaithersburg: IEEE Computer Society Press, 1994. 69~80.
  • 3[3]Amman P, Offutt J. Coverage criteria for logical expressions. In: Stephanie K, ed. Proc. of the 14th Int'l Symp. on Software Reliability Engineering. Denver: IEEE Computer Society Press, 2003.99~107.
  • 4[4]Black PE, Okun V, Yesha Y. Mutation operators for specifications. In: Anne R, ed. Proc. of the 5th IEEE Int'l Conf. on Automated Software Engineering. Grenoble; IEEE Computer Society Press, 2000. 81~88.
  • 5[5]Zhu H. Axiomatic assessment of control flow-based software test adequacy criteria. Software Engineering Journal, 1995,10(9):194~204.
  • 6[6]Weyuker EJ. Axiomatizing software test data adequacy. IEEE Trans. on Software Engineering, 1986,12(12):1128~1138.
  • 7[7]Gourlay J. A mathematical framework for the investigation of testing. IEEE Trans. on Software Engineering, 1983,9(6):686~709.
  • 8[8]Parrish A, Aweben SH. Analysis and refinement of software test data adequacy properties. IEEE Trans. on Software Engineering,1991,17(6):565~581.
  • 9[9]Parrish A, Aweben SH. Clarifying some fundamental concepts in software testing. IEEE Trans. on Software Engineering,1993,19(7):742~746.
  • 10[10]Offutt J, Liu SY, Abdurazik A, Amman P. Generating test data from state-based specifications. The Journal of Software Testing,Verification, and Reliability, 2003,13(1):25~53.

同被引文献52

  • 1方海光,陈蜜,任剑锋.教育软件工程的研究框架与发展趋势[J].微型机与应用,2007,26(S1):194-198. 被引量:2
  • 2占学德,缪淮扣.基于UML状态图测试的充分性准则[J].计算机科学,2005,32(5):230-235. 被引量:11
  • 3暴建民,杨孝宗,杨楠,王申科.测试数据选择理论20年[J].软件学报,1996,7(12):743-751. 被引量:1
  • 4章晓芳,徐宝文,聂长海,史亮.一种基于测试需求约简的测试用例集优化方法[J].软件学报,2007,18(4):821-831. 被引量:59
  • 5Goodenough J B,Gerhart S L.Toward a theory of test data selection[J].IEEE Trans on Software Engineering, 1975,SE-3(3): 156-173.
  • 6Goodenough J B,Gerhart S L.Toward a theory of testing:data selection criteria[C]//Yeh R T.Current Trends in Programming Methodology.[S.l.] : Prentice-Hall, 1977 (2).
  • 7朱鸿,金凌紫.软件质量保障和测试[M].北京:科学出版社,1997.
  • 8Amnmn P,Offutt J.Using formal methods to derive test frames in category-partition testing[C]//IEEE 9th Annual Conf on Computer Assurance.Gaithersburg: IEEE Computer Society Press, 1994 : 69-80.
  • 9Amman P,Offutt J.Coverage criteria for logical expressions[C]// Stephanie K.Proc of the 14th Int'l Symp on Software Reliability Engineering.Denver:IEEE Computer Society Press,2003:99-107.
  • 10Black P E,Okun V,Yesha Y.Mutation operators for specification[C]// Anne R.Proc of the 5th IEEE Int'l Conf on Automated Software Engineering.Grenoble : IEEE Computer Society Press, 2000: 81-88.

引证文献9

二级引证文献46

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部