Test Case Generation Based on State and Activity Models

By: Santosh Kumar Swain, Durga Prasad Mohapatra, Rajib Mall

Abstract

We propose a novel testing technique for object-oriented programs. Based on the state and activity models of a system, we construct an intermediate representation, which we have named state-activity diagram (SAD). We generate test cases to achieve state-activity coverage of SADs. We have empirically evaluated the effectiveness of our approach. The results show that the proposed technique could detect seeded integration testing faults which could not be detected by the related approaches.

Keywords

UML based testing, Automatic test case generation, Activity diagram, State chart diagram, Mutation testing

Cite as:

Santosh Kumar Swain, Durga Prasad Mohapatra, Rajib Mall, “Test Case Generation Based on State and Activity Models”, Journal of Object Technology, Volume 9, no. 5 (September 2010), pp. 1-27, doi:10.5381/jot.2010.9.5.a1.

PDF | DOI | BiBTeX | Tweet this | Post to CiteULike | Share on LinkedIn

The JOT Journal   |   ISSN 1660-1769   |   DOI 10.5381/jot   |   AITO   |   Open Access   |    Contact