• Home
  • Search
  • Generation and Optimization of Test cases for Object-Oriented Software Using State Chart Diagram
  • Cite Icon6
  • https://doi.org/10.5121/csit.2012.2241Copy DOI Icon

Generation and Optimization of Test cases for Object-Oriented Software Using State Chart Diagram

  • May 20, 2012
  • Ranjita Kumari Swain
Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

The process of testing any software system is an enormous task which is time consuming and costly. The time and required effort to do sufficient testing grow, as the size and complexity of the software grows, which may cause overrun of the project budget, delay in the development of software system or some test cases may not be covered. During SDLC (software development life cycle), generally the software testing phase takes around 40-70% of the time and cost. Statebased testing is frequently used in software testing. Test data generation is one of the key issues in software testing. A properly generated test suite may not only locate the errors in a software system, but also help in reducing the high cost associated with software testing. It is often desired that test data in the form of test sequences within a test suite can be automatically generated to achieve required test coverage. This paper proposes an optimization approach to test data generation for the state-based software testing. In this paper, first state transition graph is derived from state chart diagram. Then, all the required information are extracted from the state chart diagram. Then, test cases are generated. Lastly, a set of test cases are minimized by calculating the node coverage for each test case. It is also determined that which test cases are covered by other test cases. The advantage of our test generation technique is that it optimizes test coverage by minimizing time and cost. The proposed test data generation scheme generates test cases which satisfy transition path coverage criteria, path coverage criteria and action coverage criteria. A case study on Automatic Ticket Machine ( ATM ) has been presented to illustrate our approach.

Similar Papers
  • Research Article
  • Citations12

Minimal Testcase Generation for Object-Oriented Software with State Charts

  • Jul 31, 2012
  • International Journal of Software Engineering & Applications
  • Ranjita Kumari Swain
  • Research Article

Minimal Testcase Generation for Object-Oriented Software with State Charts

  • Jul 27, 2012
  • Zenodo (CERN European Organization for Nuclear Research)
  • Ranjita Kumari Swain +2
  • PDF
  • Research Article

Test case simplification based on coupling metrics in software bug location

  • Jun 21, 2023
  • Journal of Measurements in Engineering
  • Xiaohui Hu
  • Research Article
  • Citations11

Coverage Criteria for State-Based Testing

  • Jan 01, 2019
  • International Journal of Information Technology Project Management
  • Sonali Pradhan +2
  • Book Chapter

Coverage Criteria for State-Based Testing

  • Jan 01, 2022
  • Sonali Pradhan +2
  • Research Article
  • Citations32

Transition coverage based test case generation from state chart diagram

  • May 16, 2019
  • Journal of King Saud University - Computer and Information Sciences
  • Sonali Pradhan +2
  • Research Article
  • Citations1

Hybrid optimization with constraints handling for combinatorial test case prioritization problems

  • Jul 12, 2025
  • Network: Computation in Neural Systems
  • Selvakumar J +2
  • Research Article
  • Citations2

An Efficient Test Data Generation Approach for Unit Testing

  • Apr 01, 2016
  • IOSR Journal of Computer Engineering
  • Anil Kumar Gupta +1
  • Conference Article
  • Citations11

A Survey on Generation of Test Cases and Test Data using Artificial Intelligence Techniques

  • Jan 01, 2012
  • Shveta Parnami +2
  • Research Article

Smart Test Case Quantifier Based on Mc/Dc Coverage Criterion with Uml Sequence Diagram

  • May 30, 2020
  • International Journal of Recent Technology and Engineering (IJRTE)
  • S Shanmuga Priya*
  • Conference Article
  • Citations1

Application of an Improved Combinatorial Test Strategy in Test Case Generation for Aviation Software

  • Dec 29, 2018
  • Xiaohan Qiu +2
  • Research Article

Machine Learning in QA: A Vision for Predictive and Adaptive Software Testing

  • Jul 16, 2021
  • INTERANTIONAL JOURNAL OF SCIENTIFIC RESEARCH IN ENGINEERING AND MANAGEMENT
  • Santosh Kumar Jawalkar
  • PDF
  • Research Article
  • Citations1

Test Suite Minimization using Hybrid Algorithm for GA generated Test Cases

  • May 30, 2013
  • INTERNATIONAL JOURNAL OF COMPUTERS & TECHNOLOGY
  • Mrs P Maragathavalli +1
  • Research Article
  • Citations24

Assessing test artifact quality—A tertiary study

  • May 23, 2021
  • Information and Software Technology
  • Huynh Khanh Vi Tran +3
  • Research Article
  • Citations7

Compiler test suite: evaluation and use in an automated test environment

  • Oct 01, 1994
  • Information and Software Technology
  • A Boujarwah +1
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.