Abstract
It is very important in today’s highly dynamic environment with changing requirements to develop test plan at each stage of the Software Development Life Cycle. Owing to the ever changing requirements, adequate updation in the requirement specifications is unavoidable. Due to lack of proper updation in the requirements, inconsistencies creep up. Research shows that number of software fail on account of these inconsistencies because proper testing is not possible on archaic requirements. Further, the increasing complexity of the projects make manual testing impossible. This calls for automatic testing of specifications to keep a check on the inconsistencies. Most of the earlier approaches to testing specifications use intermediate forms that makes automation difficult. In this paper, we will present a novel approach to automatic test case generation that integrates information from UML class and sequence diagrams and at the same time does not use any intermediate form. Users input the diagram information in the form of XMI files. These files are processed to extract the environment variables from the class diagrams and test sequences from sequence diagram and finally generate the test cases by applying Robustness Testing on the test sequence generated. Thus we avoid the intermediate forms as well as make automation an easier task.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
Mingsong, C., Xiaokang, Q., Xuandong, L.: Automatic Test Case Generation for UML Activity Diagrams. ACM Portal (2006)
Biswal, B., Nanda, P., Mohapatra, D.: A Novel Approach for Scenario-Based Test Case Generation. IEEE Society (2008)
Sokenou, D.: Generating Test Sequences from UML Sequence Diagrams and State Diagrams. IEEE Society (2006)
Weißleder, S., Sokenou, D.: Automatic Test Case Generation from UML Models and OCL Expressions. IEEE Society (2007)
Kansomkeat, S., Rivepiboon, W.: Automated -Generating test case using UML statechart diagrams (2003)
Reiebisch, M., Philippow, I., Gotze, M.: UML-Based Statistical test Case generation (2002)
Chen, M., Mishra, P., Kalita, D.: Coverage driven automatic Test generation from UML Activity Diagram (2008)
Kundu, D., Samanta, D.: A Novel approach to Generate Test cases from UML Activity Diagrams (2009)
El-Far, I.K., Whittaker, J.A.: Model-based Software Testing (2001)
Neat, B.: Boundary Value Analysis. University of Wales Swansea
XMI Version1 Production of XML Schema Specification, www.jeckle.de/files/XMI1XSD.pdf
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2010 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Asthana, S., Tripathi, S., Singh, S.K. (2010). A Novel Approach to Generate Test Cases Using Class and Sequence Diagrams. In: Ranka, S., et al. Contemporary Computing. IC3 2010. Communications in Computer and Information Science, vol 95. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-14825-5_14
Download citation
DOI: https://doi.org/10.1007/978-3-642-14825-5_14
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-642-14824-8
Online ISBN: 978-3-642-14825-5
eBook Packages: Computer ScienceComputer Science (R0)