Study of Automatic Test Case Generation Techniques using UML Activity Diagram

Main Article Content

วลัยภรณ์ ศรเกลี้ยง
ดร.ฐิมาพร เพชรแก้ว

Abstract

- There are many techniques to generate test case from UML activity diagram, this brings about the difficulty in selecting the appropriate technique for different types of program. In this paper, we compared the eight algorithms of the automatic test case generation: Round-Robin, Condition-Classification Tree, Activity Tree, Intermediate Testable Model, Activity Dependency Table and Activity Dependency Graph, Test Path Reduction, Activity Convert Grammar, and Activity Flow Graph. The results showed that (1) in the aspect of covering all paths, almost all algorithm could generate all possible paths while the Round-Robin could generate too many paths, (2) in the aspect of covering basis paths, all eight algorithms could generate all basis paths, (3) in the aspect of the complex model activity diagram that we constructed, the Activity Convert Grammar could generate too many paths, it has 44.23% of paths that exceed the number of target path, the Test Path Reduction could generate too few paths, it has 65.38% of paths lower than the number of target paths, and the Activity Flow Graph could generate the amount of paths as same as the expected paths, it has only 1.92% of paths that exceed the number of target paths.

Article Details

How to Cite
[1]
ศรเกลี้ยง ว. and เพชรแก้ว ด., “Study of Automatic Test Case Generation Techniques using UML Activity Diagram”, JIST, vol. 6, no. 2, pp. 17–27, Dec. 2016.
Section
Research Article: Soft Computing (Detail in Scope of Journal)

References

1. F, Xin, S. Jian, L., LinLan and L. QiJun. “Test Case Generation from UML Subactivity and Activity Diagram”, International Symposium on Electronic Commerce and Security, IEEE Computer Society, Vol. 2, Oct. 2009. pp. 244-248

2. S. Kansomkeat, P. Thiket and J. Offutt, “Generating test cases from UML activity diagrams using the Condition-Classification Tree Method”, In Proceedings of 2nd International Conference on Software Technology and Engineering (ICSTE), Vol. 1, October. 2010. pp. 62-66

3. R. K. Swain, V. Panthi, D. P. Mohapatra, P. K. Behera, “Prioritizing test scenarios from UML communication and activity diagrams”, Innovations in Systems and Software Engineering, Vol. 10, Issue 3, September 2014, pp. 165–180

4. A. Nayak and D. Samanta, “Synthesis of Test Scenarios using UML Activity Diagrams”, Software and Systems Modeling (SoSyM). Vol.10 Issue.1, February. 2011. pp. 63-89

5. C. Chouhan, V. Shrivastava, P.S. Sodhi, “Test Case Generation based on Activity Diagram for Mobile Application”, International Journal of Computer Applications, Vol. 57, No. 23, November. 2012.

6. P. N. Boghdady, N. L. Badr, M. Hashem and M. F. Tolba, “An Enhanced Test Case Generation Technique Based on Activity Diagrams”, In Proceedings of the Seventh International Conference on Computer Engineering and Systems (ICCES). November-December 2011. pp. 289-294

7. K. Pechtanun and S. Kansomkeat, “Generation Test Cases from UML Activity Diagram Based on AC Grammar”, International Conference on Computer and Information Science (ICCIS), Vol. 2, September 2012. pp. 895-899

8. R. K. Swain, V. Panthi, P. K. Behera, “Generation of Test Case using Activity Diagram”, International Journal of Computer Science and Informatics, Vol. 3, Issue. 2, November 2013. pp. 1-10

9. P. N. Boghdady, N. L. Badr, M. Hashem and M. F.Tolba, “A Proposed Test Case Generation Technique Based on Activity Diagrams”, International Journal of Engineering & Technology IJET/IJENS, Vol. 11, No. 03, June 2011. pp. 37-57

10. P. N. Boghdady, N. L. Badr, M. Hashem and M. F.Tolba, “An Enhanced Technique for Generating Hybrid Coverage Test Cases Using Activity Diagrams”, The 8th International Conference on INFOrmatics and Systems (INFO2012), May. 2012. pp. 20-28