Automatic Test Data Synthesis using UML Sequence Diagrams
Ashalatha Nayak and Debasis Samanta,
School of Information Technology,
Indian Institute of Technology, Kharagpur, West Bengal, India
Model based testing techniques are used to generate test scenarios from a behavioral
description of system under tests. For a large and complex system, there are usually
a large number of scenarios and hence a large number of test paths also called test
specifications. To automate test execution, each test specification should be augmented with appropriate test input data. In this paper, we propose an approach of
synthesizing test data from the information embedded in model elements such as class
diagrams, sequence diagrams and OCL constraints. In our approach, we enrich a sequence diagram with attribute and constraint information derived from class diagram
and OCL constraints and map it onto a structured composite graph called SCG. The
test specifications are then generated from SCG. For each test specification, we follow
a constraint solving system to generate test data.
Note: Due to the typographical sophistication of this article, no HTML version is available. Please use the PDF version
About the author
Ashalantha Nayak, Debasis Samanta: "Automatic Test Data Synthesis using UML Sequence Diagrams", in Journal of Object Technology, vol. 9, no.2, March - April 2010, pp. 115-144 http://www.jot.fm/issues/issue_2010_03/article2/
||Ashalatha Nayak is an Assistant
Professor in Department of Computer Science and Engineering at Manipal Institute of Technology, Manipal, India. She is pursuing her
Ph.D. in the School of Information
Technology, IIT Kharagpur in the
area of Model Based Testing. Her
research interests include program
analysis and software testing. She obtained her B.Tech. and M.Tech. in Computer Science and Engineering from Mangalore University, Karnataka state, India.
She can be reached at asha firstname.lastname@example.org.
Debasis Samanta received his B. Tech. in Computer Science
and Engineering from Calcutta University, M. Tech. in Computer Science and Engineering from Jadavpur University, Ph.D.
in Computer Science and Engineering from Indian Institute of
Technology, Kharagpur. He is currently an Assistant Professor in
the School of Information Technology at the Indian Institute of
Technology, Kharagpur. His research interests include biometric
system, low power VLSI systems design, human computer interaction, and information system design. He can be reached at email@example.com.