Integrated Model-based Test Case Generation
Main Article Content
Abstract
Model-based test case generation provides a solid foundation for the software quality assurance and gains more and more attention to
the industries. It is important to perform software testing as early as possible to detect faults, reduce software development time and cost. Many
researchers have considered using UML diagrams to generate test cases. Few work on the test case generation using combination of sequence
diagram and statechart diagrams is reported in literatures. In this paper, we present an integrated approach to generating test cases from sequence
diagrams using UML2.x syntax. The approach combines UML2 sequence diagrams and statecharts hierarchically and generate test paths based
on message flow graph. We also define various coverage criteria to generate test paths. We have applied it to a case study to investigate its fault
detection capability. The results show that the proposed approach effectively detects all the seeded faults when complying with the most
demanding adequacy criterion and still achieves reasonably good results for less expensive adequacy criteria. As a result, this work provides a
solid foundation for further research on automatic test case generation, coverage criteria analysis of sequence diagram based object oriented
testing.
Â
Keywords: model-base testing; sequence diagram; statechart diagram; test case; test criteria
Downloads
Article Details
COPYRIGHT
Submission of a manuscript implies: that the work described has not been published before, that it is not under consideration for publication elsewhere; that if and when the manuscript is accepted for publication, the authors agree to automatic transfer of the copyright to the publisher.
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution License that allows others to share the work with an acknowledgment of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgment of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work
- The journal allows the author(s) to retain publishing rights without restrictions.
- The journal allows the author(s) to hold the copyright without restrictions.