Open Access Open Access  Restricted Access Subscription or Fee Access

Automatic Test Case Generation Using Use Case Diagram

D.R. Nemade, Satendra K. Jain

Abstract


A new model based approach for automated generation of test cases in object oriented system has been presented. The test cases are derived by analyzing the dynamic behavior of the object due to internal and external stimuli. The scope of the paper has been limited to the use case diagram taken from the Unified modeling Language model of the system. Intelligent searching techniques have been developed in order to provide a solution to the issue of finding information relevant to the user needs, and the problem of information overload - when far too much information is returned from a search. We employ this technique to introduce an automatic tool which used to generate the test cases automatically according to the system’s requirement. The tool uses two steps for generating test cases. First, the system’s requirements are transformed into a Unified Modeling Language (UML) Use-case Diagram. Second, the test cases will be automatic generated according to the use cases respectively. In the workspace, the Toolbox is used in order to ease the drawing of the use-case diagram

Keywords


Intelligent Searching Engine, Artificial Intelligence, Information Retrieval, Automatic Generator, Use-Case Diagram, Test Case, Software Testing.

Full Text:

PDF

References


“Automatic Test Case Generation for UMLObject diagrams using Genetic Algorithm “ M. Prasanna1 and K.R. Chandran2009, Int. J. Advance. Soft Comput. Appl., Vol. 1, No. 1, July 2009

“Automatic test case generation using unified modeling language (UML) diagrams “ P. Samuel R. Mall A.K. Bothra 2008, Vol. 2, No. 2, pp. 79–93/doi: 10.1049/ietsen: 20060061/79

Philip Samuel, Rajib Mall and Sandeep Sahoo, UML Sequence Diagram Based Testing Using Slicing, IEEE Indicon 2005 Conference, Chennai, India, I I 'I 3 Dec. 2005, pages 176-178.

Lee Copeland class diagram based testing, http://www.stickyminds.com.

Lee Copeland sequence diagram based testing, http://www.sticyminds.com.

Rumbaugh, Jacobson, and Booch. The Unified Modeling Language Reference Manual. Addison-Wesley, Reading, MA, 1999.

Dehla Sokenou, Generating Test Sequences from UML Sequence Diagrams and State Diagrams, GEBIT Solutions GmbH.

Beizer, Boris, Software Testing Techniques, Second Edition. Van Nostrand Reinhold, 1990.

Rumbaugh J., Blaha M., Premerlani W., Eddy F., Lorensen W.: Object- Oriented Modeling and Design. Prentice Hall, 1991.

D. Seifert, S. Helke, and T. Santen. Test Case Generation for UML State charts. In PSI’2003.

A. Bertolino and F. Basanieri, "A practical approach to UML-based derivation of integration tests", Proceedings of the 4th Intemational Software Quality Week Europe and Intemational Intermit Quality Week Europe, Brussels, Belgium, 2000, QWE.

B. Korel and J. Rilling, "Dynamic program slicing methods", Information and Software Technology, 40:647 659, 1998.44

J. Offutt and A. Abdurazik, "Generating tests from UML specifications", Proceedings of the 2nd Intemational Conference on UML, Lecture Notes in Computer Science, volume 1723, pages 416 – 429, Fort Collins, TX, 1999.Springer-Verlag GmbH.

B.Jeng and E. J. Weyuker, "A simplified domain-testing strategy", ACM Transactions on Software Engineering and Methodology (TOSEM), 3(3), 1994.

B. Korel, "Automated software test data generation", IEEE Transactions on Software Engineering, 16(8): 870 - 879, 1990.

Clay E. Williams “Software Testing and the UML” Center for Software Engineering, IBM T. J. Watson Research Center.

Poston, R. Automated test from object models. CACM 37, 9 (Sept. 1994), 48-58.

Perry, D. and Kaiser, G. adequate testing and object-oriented programming. JOOP (Jan. /Feb. 1990), 13-19.

Unified Modeling Language & Rational, http://www.ibm.com/developersworks/rational

Unified Modeling Language and Modeling http://agilemodeling.com

Testinghttp://atlas.kennesaw.edu/dbraun/csis4650/A&D/UML_tutorial/resources

Black Box Testing http://www.cse.fau.edu/~maria/courses/cen/Black1.html

White Box Testing http://testtinggeek.com

A. Bahrami Object oriented systems development: using the unified modeling Language, Mc-Graw Hill, Singapore. (1999)

C. Nebut, F. Fleurey and Y.L. Traon, Automatic Test Generation: A Use Case Driven approach, IEEE TRANSACTION ON SOFTWARE ENGINEERING Vol.32, No. (2003)

D. Wood and J. Reis (1999). Use Case Derived Test Cases, Software Quality Engineering for Software Testing Analysis and Review (STAREAST99)Online.http://www.stickyminds.com/


Refbacks

  • There are currently no refbacks.


Creative Commons License
This work is licensed under a Creative Commons Attribution 3.0 License.