Agent-Based Regression Test Case Generation using Class Diagram, Use cases and Activity Diagram

Pardeep Kumar Arora, Rajesh Kumar Bhatia · Procedia Computer Science · 2018

In Regression testing, test case generation is a process of generating test cases from the existing test suite to ensure that modifications made in the system have not affected its existing functionality. The use of modeling based UML class diagram identifies changes at syntax level, whereas use cases and activity diagram identify changes at semantic level. In this research, we have used the combination of UML class diagram, use cases and activity diagram to identify changes at both syntax and semantics level. We compared UML class diagrams, use cases and activity diagrams of old and modified code to identify these changes. It is found that the use of UML class diagram, use cases and activity diagram results in better identification of changes and hence leads to efficient test case generation. Additionally, agents developed in Java Agent Development Environment are used to collect these changes from different stake holders in the distributed environment. The distribution of testing tasks among mobile agents reduces the average time required for generation of test cases in regression testing.

Read the paper · More papers on PaperTik