Title :
Generation test case from UML activity diagram based on AC grammar
Author :
Pechtanun, Kanjanee ; Kansomkeat, Supaporn
Author_Institution :
Dept. of Comput. Sci., Prince of Songkla Univ., Songkhla, Thailand
Abstract :
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.
Keywords :
Unified Modeling Language; formal specification; grammars; program testing; AC grammar; UML; UML activity diagram; Unified Modeling Language; activity convert grammar; activity diagram; design specifications; fault detection; generation test case; paths coverage; requirement modelling; software development life-cycle; software testing; test case design; testing phase; Computers; Grammar; Information science; Unified modeling language; UML based testing; activity diagram; software testing;
Conference_Titel :
Computer & Information Science (ICCIS), 2012 International Conference on
Conference_Location :
Kuala Lumpeu
Print_ISBN :
978-1-4673-1937-9
DOI :
10.1109/ICCISci.2012.6297153