期刊文献+

Statechart描述的测试语义和测试用例自动生成 被引量:1

Testing Semantics and Automatic Test Cases Generation for Statechart Specification
下载PDF
导出
摘要 研究了Statechart描述的测试语义和测试用例自动生成.基于Tretmans的从标记转换系统描述自动生成测试用例的方法,我们研究如何从Statechart描述自动生成测试用例.建立了基于Statechart描述的一致性测试和测试用例生成的形式化基础.为Statechart描述建立了形式化测试语义,测试语义和传统的验证语义不同,强调可观察性和内部细节隐藏.基于形式化测试语义和测试假设,形式化定义了系统描述和系统实现之间的一致性关系/实现关系.然后给出了基于图遍历的测试用例生成算法,对于无环测试语义该算法可以生成完全测试集,而对于带环测试语义该算法可以生成高效率的宽泛测试集. Applying Tretmans approach to generate test cases for I/O automata from labeled transition systems,we provide a solid mathematical basis for conformance testing and automatic test case generation for Statechart specification.We introduce formal testing semantics of Statechart specification that go beyond semantics presented for formal verification.These observable testing semantics can be used for general application,critical application and real-time application.We also propose a formal conformance testing relation based on presented formal semantics and test hypothesis and provide an algorithm which,for a Statechart specification,generates a test suite.For finite-runs semantics the algorithm can generate a complete test suite,and for infinite-runs semantics only sound test suite can be generated.
出处 《西南大学学报(自然科学版)》 CAS CSCD 北大核心 2011年第5期143-150,共8页 Journal of Southwest University(Natural Science Edition)
关键词 系统实现 一致性测试 测试用例生成 形式化语义 system implementation conformance testing test case generation formal semantics
  • 相关文献

参考文献8

  • 1HAREL D. Statecharts: A Visual Formalism for Complex Systems[J]. Science of Computer Programming, 1987, 8(3): 231-274.
  • 2HAREL D, PNUELI A. On the Development of Reactive Systems [J]. Logic and Model of Concurrent Systems, 1984, F-13: 477-498.
  • 3TRETMANS J. Test Generation with Inputs, Outputs and Repetitive Quiescence [J]. Software Concepts and Tools, 1996, 17(3): 103-120.
  • 4TRETMANS J. Testing Concurrent Systems: A Formal Approach [J]. LNCS, 1999, 1664: 46-65.
  • 5TRETMANS J. Conformance Testing with Labelled Transition Systems: Implementation Relations and Test Generation [J]. Computer Networks and ISDN Systems, 1996, 29(1): 49-79.
  • 6BRINKSMA E, TRETMANS J. Testing Transition Systems: An Annotated Bibliography [J].LNCS, 2001, 2067:187-195.
  • 7HAREL D, NAAMAD A. The STATEMATE Semantics of Statecharts [J].ACM Transactions on Software Engineer ing Methodology, 1996, 5(4): 293-333.
  • 8董威,王戟,齐治昌.UMLStatecharts的模型检验方法[J].软件学报,2003,14(4):750-756. 被引量:40

二级参考文献1

  • 1C. Courcoubetis,M. Vardi,P. Wolper,M. Yannakakis. Memory-efficient algorithms for the verification of temporal properties[J] 1992,Formal Methods in System Design(2-3):275~288

共引文献39

同被引文献6

引证文献1

二级引证文献2

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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