期刊文献+

形式化B描述测试序列自动生成研究

Automating the Generation of Test Sequences from B Formal Specification
下载PDF
导出
摘要 基于严格数学理论的软件形式化规格说明,经过逐层精化,不仅可以让软件开发过程更加有效精准,而且为测试用例测试序列的自动生成提供了最原始可靠的依据。通过B抽象机操作的规范型,依据测试理论,可以将原操作等价于多个效用谓词(effect predication)的形式。按照路径覆盖得到状态转换图,并对状态图做了确定性处理;运用基于状态图的测试准则,生成有效的测试序列,提高测试的有效性和效率。 Formal specification,based on critical mathematics,not only make the process of software development more effective and precise,but also contain a great deal of information that can be as the original reliable basis for the generation of test sequences.The work reported here base on the standard B notation,splitting the operation to the equal effect predications and then generate state transition diagram according to path coverage criterion,and also solving the indeterminism of state transition.Generating the test sequences according to the test criterion on the state diagram,which can prove an effective test,has also been presented.
出处 《计算机系统应用》 2012年第5期77-81,共5页 Computer Systems & Applications
关键词 形式化描述 测试序列生成 状态转换图 B方法 效用谓词 formal specification test sequences generation state transition diagram B method effect predication
  • 相关文献

参考文献7

  • 1Legeard B, Peureux F, Utting M. Automated Boundary Testing from Z and B. Proc. of the Intemational Conference on Formal Methods Europe (FME'02). Copenhagen, Denmark, July 2002. LNCS 2391, Springer-Verlag, 2002: 21-40.
  • 2Dick J, Faivre A. Automating the generation and sequencing of test cases from model-based specifications. FME'93: Industrial-Strength Formal Methods. LNCS 670, SpringerVerlag, April 1993: 268-284.
  • 3van Aertryck L, Benveniste M, Le Metayer D. CASTING: a formally based software test generation method. 1st IEEE International Conference on Formal Engineering Methods (ICFEM'97). 1997: 99-112.
  • 4李鹏,彭祥伟,周喜,董军,代四广.基于状态图的测试路径自动生成[J].计算机工程,2011,37(2):25-26. 被引量:9
  • 5马亮,张刚.测试用例自动生成方法的现状及研究[J].现代电子技术,2008,31(6):126-129. 被引量:12
  • 6AbrialJR.裘宗燕译.B方法.北京:电子工业出版社,2004.
  • 7Legeard B, Peureux E Generation of functional test sequences from B formal specifications-presentation and industrial case-study. 16th IEEE International Conference on ASE2001. 2001: 377-381.

二级参考文献16

  • 1占学德,缪淮扣.基于UML状态图测试的充分性准则[J].计算机科学,2005,32(5):230-235. 被引量:11
  • 2Zhu Hong, Hall P A V, May J H R. Software Unit Test Coverage and Adequacy[J]. ACM Computing Survcys, 1997, 29(4): 366-427.
  • 3Haworth B, Kirsopp C, Roper M, et al. Towards the Development of Adequacy Criteria for Object-oriented Systems[C]//Proc. of the 5th European Conference on Software Testing Analysis and Review. Edinburgh, UK: [s. n.], 1997: 417-427.
  • 4Haworth B. Adequacy Criteria for Object Testing[C]//Proc. of ISQWE'98. [S. l.]: IEEE Press, 1998: 47-56.
  • 5Offutt A J. Criteria for Generating Specification-based Tests[C]// Proc. of the 5th IEEE International Conference on Engineering of Complex Computer Systems. Las Vegas, USA: [s. n.], 1999.
  • 6David Lee, Mihalis Yannakakis. Principles and Methods of Testing Finite State Machines - A Survey[J]. In Proceedings of the IEEE,1996,84:1090- 1 123.
  • 7Claude Jard, Thierry Jeeron. TGV: Theory, Principles and Algorithms[J]. STTT,2005,7(4) :297 - 315.
  • 8Robert M Hierons. Testing from a Z Specification[J]. The Journal of Software Testing, Verification, and Reliability, 1997,7(1) :19 - 33.
  • 9Fletcher R,Sajeev A S M. A Framework for Testing Object Oriented Software Using Formal Specifications. In Reliable Software Technologies (Ada - Europe '96), Lecture Notes in Computer Science, Mont reux, Switzerland, 1996 : 159 - 170.
  • 10Paul E Black. Modeling and Marshaling: Making Tests from Model Checker Counterexamples[C]. In Proceedings of the 19th Digital Avionics Systems Conferences (DASC), Z000, 1 :1B3/1 - 1B3/6.

共引文献19

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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