International Journal of Computer Applications |
Foundation of Computer Science (FCS), NY, USA |
Volume 176 - Number 7 |
Year of Publication: 2017 |
Authors: Afrina Khatun, Naushin Nower, Kazi Sakib |
10.5120/ijca2017915633 |
Afrina Khatun, Naushin Nower, Kazi Sakib . UML Diagrams and Source based Automatic Test Suite Regeneration for Improving State Model Coverage. International Journal of Computer Applications. 176, 7 ( Oct 2017), 1-8. DOI=10.5120/ijca2017915633
Automated test regeneration intends to ensure high coverage of system model from an existing test suite. While regenerating test suite, most of the existing techniques ignore coverage achieved by existing test suite. As a result, these techniques leave important model elements untested. Thus, an automatic test regeneration technique to achieve high state model coverage is proposed. In the proposed technique, Input Parser module processes inputted UML diagrams, source code and test suite as XML elements, source class and test steps respectively. The Coverage Computational module measures model coverage result by executing the existing test suite. Finally, Test Regeneration module regenerates executable test cases considering coverage result, UML and source information. The experimental results on four projects show that the proposed technique improves transition and state coverage of existing test suite on average by 61.26% and 52.95% respectively. Moreover, the technique has also successfully regenerated 98% executable test cases.