07 - Chapter 3
07 - Chapter 3
In this chapter automated test data generation has been studied based on several criteria,
including the objective function employed, the number of experiments conducted with
that technique, the results of those experiments, the results of comparisons with other
techniques, the types of parameters employed, and the overall performance of the
algorithm.
Performance
Technique Fitness/Objective No. of Comparison with Measure
Reference Findings
Adapted function used Experiments other techniques Parameter’s
adopted
Less No. of Test
Required, Low
ABC Based
Time
by combining Independent Test Path Coverage,
Triangle Complexity for
[107] scouts, Path Coverage ABC, GA & ACO Path Sequence
Classification Test data
employed & Criteria Comparison.
Generation,
onlooker bees
Faster &
efficient
Average Test Average Test
cases Generated Cases
Does not Generated Path
Static Based 10 Real Path (ATCPP) and
Perform Well (ATCPP) &
[108] Symbolic Branch Distance World’s Average
for High Value Average
Execution Problem Percentage Percentage
of ATCPP
Coverage (APC) Coverage
metrics (APC) Metrics
No. of Paths
Covered,
Yields Better Number of
Results for Iterations,
9 real world
Comparison ----------- GA & ACO Large and Number of Test
[120] Programs
Complex Cases.
Problems Time taken for
number of
Generation
Regression
Yields 100 %
[109] Augmentation Branch Coverage 8 Test Suites Path Coverage
coverage
testing
Generate
ABC based Optimal Results
Time
approach with and Converges
[121] Path Coverage 6 ACO Complexity, Path
heuristic in with a smaller
Coverage
each test case. Number of Test
Runs.
68
Outperform
IGA & PSO in
Average
Immune Genetic terms of
Improved Branch Coverage Triangle Iteration Time,
[99] Algorithm and Convergence
PSO Fitness Classification Convergence
PSO Speed,
Rate.
Efficiency &
Performance
Coverage Ratio
High Coverage
No. of Test
Ratio,
Hybrid GA & Cases.
Multi -Objective GA & PSO Less
[100] PSO(GPSCA) 7 No. of
Generation.
Generation
Traditional
Triangle Cost of Time is
PSO New All Path Cost and time
Classification Half as
[101] With new Objective Single Path Data. of test data
& Binary compared to
objective Function generation
Search Single Path
function
Better
Performance
and Great Code
PSO-TVAC
Coverage Code Coverage
(modified 5 Benchmark
[102] Code Coverage. PSO Variants Capability, and test case
Time Varying Programs
Control on Generation.
Acceleration.
Local and
Global
Optimum
Outperforms Average
PSO Based
TDGen_GA Coverage,
Test Data
5 Real World TDGen_GA, CL- and CA-PSO in Successful Rate,
[103] Generation Branch Coverage
Programs PS terms of Average
(TDGen_PSO
Coverage & Generations and
)
Generations Average Time
Avoid
Premature
Convergence. Total No. of
Modified
Triangulation Fast Coverage
[104] Genetic Branch Fitness Traditional GA
network Convergency, Time
Algorithm
High test data Coverage Rate
generation
efficiency
Synthesize
multiple test Average
GA Based Lin;s & Pei’s
data, More Generation
[105] Test data Multi Path Fitness 7 work based on
Effective & Average
Generator GA
Efficient than Coverage
similar tools
Find more error
prone paths, Paths
reduce Identification,
[122] GA Branch 11 Random Testing
Development Cost &
Cost & Improve efficiency
Efficiency
Maintain
Colony
Test Data
Polymorphism,
Generation,
Avoid
PSO used Individual Sa test Triangle Test Data
[106] GA and ACO Premature
inside GA Case Classification Convergence,
Convergence.
Colony
Improve
Maintenance
Convergence
Speed
Anneal Preserve the Selection &
Similarity Based Triangle GA and Random
[37] Mechanism best probability, Elitist
Fitness Function Classification testing
into GA Effective & Crossovers
69
(Hamming Efficient than Mutation
Distance) other techniques Simulated
Annealing and
Convergence
Based on Approximation
Three Level and Branch
Evolutionary Distance SA generated
[39] 10 GA, SA & PSO Convergence
Approaches (Evaluating the quality Data
GA, SA & Distance between
PSO actual path)
Local
Outperform
transfer, Average
Genetic
global Coverage,
8 Benchmarks Genetic Algorithm and
transfer, Customize Branch Successful rate,
[123] programs has Algorithm, SA Simulated
pheromone fitness function Average
been used and PSO Annealing,
update has Convergence,
Comparable to
been re Average time
PSO
defined.
Single ACO Data Flow Pheromone-
Markov Generate
[110] NA Telephone testing & ACO factor, Cost, and
model quality
Experiment Markov Chain user Parameters
Local
Transfer, Average
Global Coverage,
5 Benchmarks
transfer, Branch fitness Successful rate,
[124] programs has GA, SA, ACO Outperforms
pheromone function Average
been used
update has Convergence,
been re - Average time
defined.
Improved
Local
Pheromone Statement Average
strategy and Coverage, Branch Triangle Random Coverage and
Improved
pheromone Coverage and classification Algorithm and Average
[95] coverage and
volatilization Modified and collision Genetic Generation
generation.
Co-efficient Condition/Decisio detection. Algorithm
and Global n Coverage.
Path
Pheromone
Complete
State The
Coverage,
Transition Enrolment
GA & STT Generation of
based testing state machine, Better coverage
[97] NIL (Software Optimal Test
and its transition than GA
Transition testing) Sequence,
coverage system state
Enhancement of
level machine
the Tool.
Classic Generation of
Average
triangle Optimal &
Statement, Branch Coverage,
[29] Ant Colony Classification, RND, GA, SACO Minimal Test
& modified Average
Optimization & collision & ACO Sequence for
decision/coverage minimal
avoidance Complete
generation
system Coverage.
NSA is efficient
Benchmark in time of
Test Data
Hamming Program Random testing & execution &
[125] NSA Generation,
Distance Triangle GA effective in
Execution Time
Classifier generation of
test data.
Outperforms
other methods
11 Real world in reducing the Path Coverage,
Application Hamming Random Testing,
[56] Benchmark number of test Effectiveness
of NSA Distance GA & ACO
programs data that covers & Efficiency.
all program
paths.
70
Automated Test
Benchmark Outperforms
Negative Case
Hamming Program Random
[53] Selection Random Testing Generation,
Distance Triangle Testing for Path
Algorithm Effectiveness &
Classifier Coverage.
Efficiency.
Clonal Al & NBD, Mean Number
Sthamer
Selection Approximation of Generation,
Traingle Hundred Poor Generation
[46] Algorithm Level with Mean
Classifier Experiments (run) & Coverage
(Immune normalized Percentage
Problem
Algorithm) Branch Distance Coverage.
Elite Test Data
Generation
Korel Distance Performance of
9 Benchmark Random, GA & Technique,
[47] GA and CSA Function for Test Data
Program CSA Generate
Branch Predicate Generation
Optimal Test
Data
Average
High Path
Coverage,
11 Coverage with
Hybrid NSA Hamming Random, NSA, Average test
[57] Benchmark minimum
& GA Distance NSA-GA Data,
Program number of
Average
Generation.
Generation.
2012
2011
2010
2009
2008
2007
2006
0 10 20 30 40 50 60 70
Number of Publications
Publishing Date
71
3.3 Type of Experiments Deployed in Test Data Generation
11 11
No. of Experiments
1 1 1 1
Series1
13
No. of Experiments
12
5
3
2 2
1 1 1 1 1 1 1 1 1 1 1 1
Series1
72
3.5 Comparison Conducted by Different Approaches
16
No of Comparisons
6 6
5
3
1 1 1 1 1 1 1
Series1
3.6 Summary
74