TY - GEN
T1 - Automated transition from use cases to UML state machines to support state-based testing
AU - Yue, Tao
AU - Ali, Shaukat
AU - Briand, Lionel
PY - 2011
Y1 - 2011
N2 - Use cases are commonly used to structure and document requirements while UML state machine diagrams often describe the behavior of a system and serve as a basis to automate test case generation in many model-based testing (MBT) tools. Therefore, automated support for the transition from use cases to state machines would provide significant, practical help for testing system requirements. Additionally, traceability could be established through automated transformations, which could then be used for instance to link requirements to design decisions and test cases, and assess the impact of requirements changes. In this paper, we propose an approach to automatically generate state machine diagrams from use cases while establishing traceability links. Our approach is implemented in a tool, which we used to perform three case studies, including an industrial case study. The results show that high quality state machine diagrams can be generated, which can be manually refined at reasonable cost to support MBT. Automatically generated state machines showed to largely conform to the actual system behavior as evaluated by a domain expert.
AB - Use cases are commonly used to structure and document requirements while UML state machine diagrams often describe the behavior of a system and serve as a basis to automate test case generation in many model-based testing (MBT) tools. Therefore, automated support for the transition from use cases to state machines would provide significant, practical help for testing system requirements. Additionally, traceability could be established through automated transformations, which could then be used for instance to link requirements to design decisions and test cases, and assess the impact of requirements changes. In this paper, we propose an approach to automatically generate state machine diagrams from use cases while establishing traceability links. Our approach is implemented in a tool, which we used to perform three case studies, including an industrial case study. The results show that high quality state machine diagrams can be generated, which can be manually refined at reasonable cost to support MBT. Automatically generated state machines showed to largely conform to the actual system behavior as evaluated by a domain expert.
KW - Model-Based Testing (MBT)
KW - Natural Language Processing
KW - State Machine
KW - State-based Testing
KW - Transformation
KW - UML
KW - Use Case Modeling
UR - http://www.scopus.com/inward/record.url?scp=79959243446&partnerID=8YFLogxK
U2 - 10.1007/978-3-642-21470-7_9
DO - 10.1007/978-3-642-21470-7_9
M3 - Conference contribution
AN - SCOPUS:79959243446
SN - 9783642214691
T3 - Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
SP - 115
EP - 131
BT - Modelling Foundations and Applications - 7th European Conference, ECMFA 2011, Proceedings
T2 - 7th European Conference on Modelling Foundations and Applications, ECMFA 2011
Y2 - 6 June 2011 through 9 June 2011
ER -