期刊文献+

基于UML Statechart语义的测试序列生成方法 被引量:2

A Test Sequence Generation Method Based on the UML Statechart Semantics
下载PDF
导出
摘要 UML Statechart是UML的一个主要组成部分,与其他类型的 Statechart相比,由于采用事件队列的调度方式,UML Statechart有着更多的不确定性,使得针对UML Statechart模型的测试非常困难。本文给出了一个形式化的语义模型,并将Statechart转化为一个比较简单的标志变迁系统,利用路径选择算法得到一个基于标志变迁系统的测试集,然后通过判断得到的测试集中每个测试用例是否满足UML Statechart执行步的语义,从而得到一个满足UML Statechart执行步的语义的、可执行的测试集。 UML Statechart has become a popular notion for specifying complex reactive systems, especially for software systems. Due to the complex semantics of statecharts, testing statecharts is a challenging problem. The nondeterminism of event queue induces the nondeterminism of the execution path of UML statecharts. It is an important point of difficulty when we test and verify a UML statechart model. In this paper, we address the problem of generating executable test sequences from UML statecharts, formally define the UML Statechart semantics, and transform the statecharts to label transition systems, from which there are many existing methods to generate test sequences. In addition, an algorithm is given to verdict that test sequences are executable or not.
作者 缪力 张大方
出处 《计算机工程与科学》 CSCD 2005年第4期3-5,共3页 Computer Engineering & Science
基金 国家自然科学基金资助项目(60273070 )
关键词 软件开发 软件测试 测试序列生成方法 UML STATECHART 语义模型 UML statechart software testing test sequence generation
  • 相关文献

参考文献7

  • 1D Harel. Statecharts: A Visual Formalism for Complex Systems[J]. Science of Computer Programming, 1987, 8(3):231-274.
  • 2OMG.Unified Modeling Language Specification.Version 1.4[S].2001.
  • 3H S Hong, I Lee, O Sokolsky, et al. Automatic Test Generation from Statecharts Using Model Checking[A].Workshop on Formal Approaches to Testing of Software[S].2001.
  • 4K Bogdanov, M Holcombe, H Singh. Automated Test Set Generation for Statecharts[A]. Lecture Notes in Computer Science 1641[M]. Berlin: Springer, 1999. 107-121
  • 5D Harel, A Naamad. The STATEMATE Semantics of Statecharts[J]. ACM Trans on Software Engineering and Methodology, 1996, 5(4):293-333.
  • 6Dirk Seifert, Steffen Helke, Thomas Santen. Conformance Testing for Statecharts[R].Technical Report 03-01, Technical University of Berlin, 2003.
  • 7D Latella, I Majzik, M Massink. Towards a Formal Operational Semantics of UML Statechart Diagrams[A].Formal Methods for Open Object-Based Distributed Systems.III[M].Kluwer Academic Publishers, 1999.

同被引文献11

引证文献2

二级引证文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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