| Construction of global finite state machine for testing task interactions written in message sequence charts |
| Full text |
Pdf
(408 KB)
|
| Source
|
SEKE; Vol. 27
archive
Proceedings of the 14th international conference on Software engineering and knowledge engineering
table of contents
Ischia, Italy
SESSION: Validation and verification
table of contents
Pages: 369 - 376
Year of Publication: 2002
ISBN:1-58113-556-4
|
|
Authors
|
|
Nam Hee Lee
|
KAIST, 373-1, Gusung-Dong, Yusung-Gu, Daejon, Korea
|
|
Tai Hyo Kim
|
KAIST, 373-1, Gusung-Dong, Yusung-Gu, Daejon, Korea
|
|
Sung Deok Cha
|
KAIST, 373-1, Gusung-Dong, Yusung-Gu, Daejon, Korea
|
|
| Publisher |
|
| Bibliometrics |
Downloads (6 Weeks): 3, Downloads (12 Months): 36, Citation Count: 1
|
|
|
ABSTRACT
Integration testing of embedded software is difficult because such software tends to be large and complex; it is often structured as a set of tasks whose interaction patterns can be arbitrary and nondeterministic; it is subject to frequent changes while being tested; and testing period must be minimized since the product's life-time is short. In order to conduct integration testing in a cost-effective manner, it is essential that requirements are captured in precise notation and that test cases are automatically generated and executed whenever possible.In this paper, we demonstrate how to generate test cases from a set of Message Sequence Charts (MSCs) by constructing a semantically equivalent global finite state machine (GFSM). Test cases are expressed as a sequence of messages to be exchanged among various system entities. When transforming complex and hierarchical MSCs to a GFSM, state explosion problem is often encountered. When constructing a GFSM, we achieved significant reduction in the number of states and transitions by generating only the feasible sequences. Such reduction was possible because embedded software we used as the case study, digital TV application software, had known and well-defined initial state.We developed a graphical toolset to edit MSCs and automatically generate test cases. Users describe the required functionalities in scenarios, and test cases are automatically generated from the GFSM according to the state and transition coverage criteria. We applied the proposed approach to specify and test a substantial portion of embedded software running on a digital TV and were able to detect an error, previously unknown to the developers, that occurred due to a subtle race condition among tasks.
REFERENCES
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
| |
1
|
|
| |
2
|
Recommendation Z.100. Specification and Description Language (SDL'2000). Technical report, ITU-T, Geneva, 2000.
|
| |
3
|
T. Murata. Petri nets: Properties, analysis and applications. Proceedings of the IEEE, 77:541-580, 1989.
|
| |
4
|
Recommendation Z.120. Message Sequence Chart (MSC'2000). Technical report, ITU-T, Geneva, 2000.
|
| |
5
|
J. Grabowski. SDL and MSC Based Test Case Generation - An Overall View of the SAMSTAG Method. Technical report, University of Berne, IAM-94-0005, 1994.
|
| |
6
|
|
| |
7
|
|
| |
8
|
C. Bourhfir, R. Dssouli, and E. M. Aboulhamid. Automatic Test Generation for EFSM-based Systems. Technical report, University of Montreal, TR-1043, 1996.
|
| |
9
|
ATSC T3/S13 Doc. 010. Data Broadcast Specification. Technical report, ATSC, 1999.
|
| |
10
|
ATSC Doc. A/65. Program and System Information Protocol for Terrestrial Broadcast and Cable. Technical report, ATSC, 1997.
|
|