Generation test case from UML activity diagram based on AC grammar

Kanjanee Pechtanun, Supaporn Kansomkeat · 2012

Software testing is an essential part of the software development life-cycle. The test case generation from design specifications is an important work in testing phase. The Unified Modeling Language (UML) is the most dominant standard language used in modeling the requirement and considered an important source of information for test case design. In this paper, we proposed a method to generate test cases from UML activity diagram. Firstly, an activity diagram is transformed into grammar, called Activity Convert (AC) grammar. Then, the AC grammar is used to generate test cases. The proposed method was applied on four case studies. The result shows that our tests achieve all paths coverage and have ability in fault detection.

Read the paper · More papers on PaperTik