Test Data Generation Based on Test Path Discovery Using Intelligent Water Drop

Test Data Generation Based on Test Path Discovery Using Intelligent Water Drop

Praveen Ranjan Srivastava, Amitkumar Patel, Kunal Patel, Prateek Vijaywargiya
Copyright: © 2012 |Pages: 19
DOI: 10.4018/jamc.2012040105
OnDemand:
(Individual Articles)
Available
$37.50
No Current Special Offers
TOTAL SAVINGS: $37.50

Abstract

Automatic test data generation is required to generate test cases dynamically for a specific software program. Manual generation of test data is too tedious and a time consuming task. This paper proposes a technique using Intelligent Water Drop (IWD) for automatic generation of test data. Correctly generated test data helps in reducing the effort while testing the software. This paper discusses different algorithms based on IWD to generate test data and path coverage over Control Flow Graph. Test data is generated keeping in mind all of the programming constraints like “if,” “while,” “do while,” etc., available in the program.
Article Preview
Top

Background

Various techniques (Korel, 1990; Pedrycz & Peters, 1998; Briand, 2002; McMinn, 2004; Harman, 2007; Kewen et al., 2009; Srivastava et al., 2009; Srivastava & Baby, 2010) have been proposed for automated testing to reduce efforts to a remarkable extent. Swarm optimization techniques are widely used for test data generation. Ant Colony Optimization (ACO) is one of them (Li & Lam, 2005; Kewen et al., 2009; Srivastava et al., 2009). Automatic test data generation based on ACO (Kewen et al., 2009) has introduced a model to generate test data using the branch function technique. It has solved the problem of local optimization, but this approach is applicable only for numeric data types and also the model is not suitable for object oriented programs and other types of input behavior. Software test data generation using ACO (Li & Lam, 2005) has also proposed a solution for state-based software testing but complete coverage is not possible by the proposed approach.

Complete Article List

Search this Journal:
Reset
Volume 15: 1 Issue (2024)
Volume 14: 1 Issue (2023)
Volume 13: 4 Issues (2022): 2 Released, 2 Forthcoming
Volume 12: 4 Issues (2021)
Volume 11: 4 Issues (2020)
Volume 10: 4 Issues (2019)
Volume 9: 4 Issues (2018)
Volume 8: 4 Issues (2017)
Volume 7: 4 Issues (2016)
Volume 6: 4 Issues (2015)
Volume 5: 4 Issues (2014)
Volume 4: 4 Issues (2013)
Volume 3: 4 Issues (2012)
Volume 2: 4 Issues (2011)
Volume 1: 4 Issues (2010)
View Complete Journal Contents Listing