SlideShare a Scribd company logo
1 of 16
SOFTWARE TESTING
USING
GENETIC ALGORITHMS
Authored By:
Akshat Sharma, Rishon Patani and Ashish Aggarwal
Reviewed by: Nurhussen Menza
Publication details
 School of Computer Science and Engineering,
VIT University, Vellore, Tamil Nadu,
India
 International Journal of Computer Science & Engineering
Survey (IJCSES) Vol.7, No.2, April 2016
SOFTWARE TESTING USING GENETIC ALGORITHMS 2
Introduction
 This paper presents a set of methods that uses a
genetic algorithm for automatic test-data generation in
software testing.
 In addition to this introduction and a conclusion at the
end It is organized in to four major sections
 The problem
 Methods used
 Results claimed
 Critics
SOFTWARE TESTING USING GENETIC ALGORITHMS 3
The research problem
 The paper presents Software testing is a process in which
the runtime quality and quantity of a software is tested to
maximum limits.
 The basic test of software is done in the environment for
which it is has been designed.
 The authors claim that Genetic algorithms are one of the
best ways to solve a set of problems for which little
information is given. And it is very general algorithm and so
they will work well in any search space.
SOFTWARE TESTING USING GENETIC ALGORITHMS 4
Cont…
 According to the authors the Evolutionary Testing uses
a kind of meta-heuristic search technique, the
Genetic Algorithm (GA), to convert the task of test
case generation into an optimal problem. It’s run
through is checked for correct and efficient outputs.
 The authors stated that different types of genetic
algorithms is done on this paper.
SOFTWARE TESTING USING GENETIC ALGORITHMS 5
Cont…
 Different algorithms have been run on different
tools and analyzed for their performance. All these
algorithms follow the same basis of evolutionary
testing but have different cost functions.
 On running these cost functions on different tools,
observations on how these functions respond are
made.
SOFTWARE TESTING USING GENETIC ALGORITHMS 6
Approaches and Methods employed
 According to the authors Genetic algorithms use the
following three operations on its population.
 Selection
 Crossover
 Mutation
Let us see them one by one;
SOFTWARE TESTING USING GENETIC ALGORITHMS 7
Cont…
 Selection:- A selection process is applied to determine a
way in which individuals are chosen for mating from a
population based on their fitness. Fitness is defined as a
characteristic and capability of an individual to survive and
reproduce in an environment.
SOFTWARE TESTING USING GENETIC ALGORITHMS 8
Conts…
 Crossover:- Crossover involves swapping of sequence of
bits or genes in the string between two individuals. This
process of swapping is carried out and repeated each time
with different parent individuals until the next generation
has optimum individuals.
SOFTWARE TESTING USING GENETIC ALGORITHMS 9
Conts…
 Mutation: After the crossover process, the mutate
operation is applied to a randomly select subset of the
population. Mutation leads to an alteration of chromosomes
in small new ways to introduce good traits. The main aim
of mutation is to bring diversity in population.
SOFTWARE TESTING USING GENETIC ALGORITHMS 10
Results and discussions
 According to the authors Genetic algorithms are most
efficient and effective in a search space for which
little is known.
 Then again, genetic algorithms can be used to
produce solutions to problems working only in the
test environment and deviates once you try to use
them in the real world.
 So when put simply, genetic algorithm can be used to
create solutions for problems that are not very easy
to calculate and analyze.
SOFTWARE TESTING USING GENETIC ALGORITHMS 11
Cont…
 And the authors listed some implementation of
Genetic Algorithm(GA) in software testing like:-
 Test case generation using GA in Ruby Trust-based system
 Genetic Algorithm Implementation in C++
 Genetic Algorithm Implementation using Matlab
SOFTWARE TESTING USING GENETIC ALGORITHMS 12
Critics
 Positive aspects
 The paper is clear, easy to read and understand
 The logicality of the findings given the problem
statement is acceptable
 The finding and well evaluated and explained deeply
 The implementation section have details regarding on
implementation of Genetic algorithm in different
software testing mechanism like MATLAB, Ruby & C++.
 The paper was figurative and explanatory with examples.
SOFTWARE TESTING USING GENETIC ALGORITHMS 13
Cont…
 Negative aspects
 Review of related works is also not mentioned in the
paper.
 The general approach was used instead of
comparative approach with other algorithms.
SOFTWARE TESTING USING GENETIC ALGORITHMS 14
Conclusion
 The work is motivational
 With all its limitations it can be said that the authors
really achieve their objectives
 Good for further research on this topic as the direction
given by the authors
SOFTWARE TESTING USING GENETIC ALGORITHMS 15
Thank You

More Related Content

What's hot

Power Management in Embedded Systems
Power Management in Embedded Systems Power Management in Embedded Systems
Power Management in Embedded Systems mentoresd
 
D Var Statcom Introduction
D Var Statcom IntroductionD Var Statcom Introduction
D Var Statcom Introductionjohnwrightsmith
 
ABB IEC Indoor Vacuum Contactors VSC - Medium Voltage Vacuum Contactors
ABB IEC Indoor Vacuum Contactors VSC - Medium Voltage Vacuum ContactorsABB IEC Indoor Vacuum Contactors VSC - Medium Voltage Vacuum Contactors
ABB IEC Indoor Vacuum Contactors VSC - Medium Voltage Vacuum ContactorsThorne & Derrick International
 
Solar power satellite
Solar power satellite Solar power satellite
Solar power satellite Naveena Navi
 
Electromagnetic Interference & Electromagnetic Compatibility
Electromagnetic Interference  & Electromagnetic CompatibilityElectromagnetic Interference  & Electromagnetic Compatibility
Electromagnetic Interference & Electromagnetic CompatibilitySabeel Irshad
 
Solar PV-D.G. Hybrid Plant
Solar PV-D.G. Hybrid PlantSolar PV-D.G. Hybrid Plant
Solar PV-D.G. Hybrid PlantAvish Thakral
 
Ultra Wide Band Antenna for High Speed Microwave Applications
Ultra Wide Band Antenna for High Speed Microwave ApplicationsUltra Wide Band Antenna for High Speed Microwave Applications
Ultra Wide Band Antenna for High Speed Microwave ApplicationsOmar Hussein
 
Design of band notched antenna for ultra wide band applications
Design of band notched antenna for ultra wide band applicationsDesign of band notched antenna for ultra wide band applications
Design of band notched antenna for ultra wide band applicationsEngr Syed Absar Kazmi
 
Siemens S4 Switchboard
Siemens S4 SwitchboardSiemens S4 Switchboard
Siemens S4 SwitchboardMark Cheatle
 
Sms based patient monitering
Sms based patient moniteringSms based patient monitering
Sms based patient moniteringPadmaja Dash
 
Spread Spectrum Multiple Access
 Spread Spectrum Multiple Access Spread Spectrum Multiple Access
Spread Spectrum Multiple Accessguest734441
 
Design and simulation of an analog beamforming phased array antenna
Design and simulation of an analog beamforming phased array antenna Design and simulation of an analog beamforming phased array antenna
Design and simulation of an analog beamforming phased array antenna IJECEIAES
 
Microcontroller based-substation-monitoring-and-controlling-system
Microcontroller based-substation-monitoring-and-controlling-systemMicrocontroller based-substation-monitoring-and-controlling-system
Microcontroller based-substation-monitoring-and-controlling-systemMahmud Hasan Uday
 
tv distribution system
tv distribution systemtv distribution system
tv distribution systempleh troppus
 
Advance Metering Infrastructure: Smart Meter
Advance Metering Infrastructure: Smart MeterAdvance Metering Infrastructure: Smart Meter
Advance Metering Infrastructure: Smart MeterMD NAWAZ
 

What's hot (20)

Power Management in Embedded Systems
Power Management in Embedded Systems Power Management in Embedded Systems
Power Management in Embedded Systems
 
D Var Statcom Introduction
D Var Statcom IntroductionD Var Statcom Introduction
D Var Statcom Introduction
 
ABB IEC Indoor Vacuum Contactors VSC - Medium Voltage Vacuum Contactors
ABB IEC Indoor Vacuum Contactors VSC - Medium Voltage Vacuum ContactorsABB IEC Indoor Vacuum Contactors VSC - Medium Voltage Vacuum Contactors
ABB IEC Indoor Vacuum Contactors VSC - Medium Voltage Vacuum Contactors
 
Solar power satellite
Solar power satellite Solar power satellite
Solar power satellite
 
project report
project reportproject report
project report
 
Electromagnetic Interference & Electromagnetic Compatibility
Electromagnetic Interference  & Electromagnetic CompatibilityElectromagnetic Interference  & Electromagnetic Compatibility
Electromagnetic Interference & Electromagnetic Compatibility
 
Power quality monitoring (PQM)
Power quality monitoring (PQM)Power quality monitoring (PQM)
Power quality monitoring (PQM)
 
Solar PV-D.G. Hybrid Plant
Solar PV-D.G. Hybrid PlantSolar PV-D.G. Hybrid Plant
Solar PV-D.G. Hybrid Plant
 
Ultra Wide Band Antenna for High Speed Microwave Applications
Ultra Wide Band Antenna for High Speed Microwave ApplicationsUltra Wide Band Antenna for High Speed Microwave Applications
Ultra Wide Band Antenna for High Speed Microwave Applications
 
Design of band notched antenna for ultra wide band applications
Design of band notched antenna for ultra wide band applicationsDesign of band notched antenna for ultra wide band applications
Design of band notched antenna for ultra wide band applications
 
Siemens S4 Switchboard
Siemens S4 SwitchboardSiemens S4 Switchboard
Siemens S4 Switchboard
 
Embedded development life cycle
Embedded development life cycleEmbedded development life cycle
Embedded development life cycle
 
Sms based patient monitering
Sms based patient moniteringSms based patient monitering
Sms based patient monitering
 
Spread Spectrum Multiple Access
 Spread Spectrum Multiple Access Spread Spectrum Multiple Access
Spread Spectrum Multiple Access
 
Design and simulation of an analog beamforming phased array antenna
Design and simulation of an analog beamforming phased array antenna Design and simulation of an analog beamforming phased array antenna
Design and simulation of an analog beamforming phased array antenna
 
Microcontroller based-substation-monitoring-and-controlling-system
Microcontroller based-substation-monitoring-and-controlling-systemMicrocontroller based-substation-monitoring-and-controlling-system
Microcontroller based-substation-monitoring-and-controlling-system
 
tv distribution system
tv distribution systemtv distribution system
tv distribution system
 
Advance Metering Infrastructure: Smart Meter
Advance Metering Infrastructure: Smart MeterAdvance Metering Infrastructure: Smart Meter
Advance Metering Infrastructure: Smart Meter
 
Wireless charging ppt
Wireless charging pptWireless charging ppt
Wireless charging ppt
 
satellite communication-UNIT-IV.pptx
satellite communication-UNIT-IV.pptxsatellite communication-UNIT-IV.pptx
satellite communication-UNIT-IV.pptx
 

Similar to Software testing using genetic algorithms

Software Testing Using Genetic Algorithms
Software Testing Using Genetic AlgorithmsSoftware Testing Using Genetic Algorithms
Software Testing Using Genetic AlgorithmsIJCSES Journal
 
Software testing strategy
Software testing strategySoftware testing strategy
Software testing strategyijseajournal
 
Dynamic Radius Species Conserving Genetic Algorithm for Test Generation for S...
Dynamic Radius Species Conserving Genetic Algorithm for Test Generation for S...Dynamic Radius Species Conserving Genetic Algorithm for Test Generation for S...
Dynamic Radius Species Conserving Genetic Algorithm for Test Generation for S...ijseajournal
 
Coevolution of Second-order-mutant
Coevolution of Second-order-mutant Coevolution of Second-order-mutant
Coevolution of Second-order-mutant IJECEIAES
 
Application of Genetic Algorithm and Particle Swarm Optimization in Software ...
Application of Genetic Algorithm and Particle Swarm Optimization in Software ...Application of Genetic Algorithm and Particle Swarm Optimization in Software ...
Application of Genetic Algorithm and Particle Swarm Optimization in Software ...IOSR Journals
 
S.N.Sivanandam & S.N. Deepa - Introduction to Genetic Algorithms 2008 ISBN 35...
S.N.Sivanandam & S.N. Deepa - Introduction to Genetic Algorithms 2008 ISBN 35...S.N.Sivanandam & S.N. Deepa - Introduction to Genetic Algorithms 2008 ISBN 35...
S.N.Sivanandam & S.N. Deepa - Introduction to Genetic Algorithms 2008 ISBN 35...edwinray3
 
Analysis of selection schemes for solving job shop scheduling problem using g...
Analysis of selection schemes for solving job shop scheduling problem using g...Analysis of selection schemes for solving job shop scheduling problem using g...
Analysis of selection schemes for solving job shop scheduling problem using g...eSAT Journals
 
Analysis of selection schemes for solving job shop
Analysis of selection schemes for solving job shopAnalysis of selection schemes for solving job shop
Analysis of selection schemes for solving job shopeSAT Publishing House
 
Application of Genetic Algorithm in Software Engineering: A Review
Application of Genetic Algorithm in Software Engineering: A ReviewApplication of Genetic Algorithm in Software Engineering: A Review
Application of Genetic Algorithm in Software Engineering: A ReviewIRJESJOURNAL
 
A Defect Prediction Model for Software Product based on ANFIS
A Defect Prediction Model for Software Product based on ANFISA Defect Prediction Model for Software Product based on ANFIS
A Defect Prediction Model for Software Product based on ANFISIJSRD
 
A Defect Prediction Model for Software Product based on ANFIS
A Defect Prediction Model for Software Product based on ANFISA Defect Prediction Model for Software Product based on ANFIS
A Defect Prediction Model for Software Product based on ANFISIJSRD
 
Specification based or black box techniques
Specification based or black box techniques Specification based or black box techniques
Specification based or black box techniques Muhammad Ibnu Wardana
 
Specification based or black box techniques
Specification based or black box techniquesSpecification based or black box techniques
Specification based or black box techniquesAji Pamungkas Prasetio
 
Specification based or black box techniques
Specification based or black box techniquesSpecification based or black box techniques
Specification based or black box techniquesmuhammad afif
 
Specification based or black box techniques (andika m)
Specification based or black box techniques (andika m)Specification based or black box techniques (andika m)
Specification based or black box techniques (andika m)Andika Mardanu
 

Similar to Software testing using genetic algorithms (20)

Software Testing Using Genetic Algorithms
Software Testing Using Genetic AlgorithmsSoftware Testing Using Genetic Algorithms
Software Testing Using Genetic Algorithms
 
Ijcatr04051005
Ijcatr04051005Ijcatr04051005
Ijcatr04051005
 
Software testing strategy
Software testing strategySoftware testing strategy
Software testing strategy
 
Dc35579583
Dc35579583Dc35579583
Dc35579583
 
Dynamic Radius Species Conserving Genetic Algorithm for Test Generation for S...
Dynamic Radius Species Conserving Genetic Algorithm for Test Generation for S...Dynamic Radius Species Conserving Genetic Algorithm for Test Generation for S...
Dynamic Radius Species Conserving Genetic Algorithm for Test Generation for S...
 
Coevolution of Second-order-mutant
Coevolution of Second-order-mutant Coevolution of Second-order-mutant
Coevolution of Second-order-mutant
 
M017127578
M017127578M017127578
M017127578
 
Application of Genetic Algorithm and Particle Swarm Optimization in Software ...
Application of Genetic Algorithm and Particle Swarm Optimization in Software ...Application of Genetic Algorithm and Particle Swarm Optimization in Software ...
Application of Genetic Algorithm and Particle Swarm Optimization in Software ...
 
S.N.Sivanandam & S.N. Deepa - Introduction to Genetic Algorithms 2008 ISBN 35...
S.N.Sivanandam & S.N. Deepa - Introduction to Genetic Algorithms 2008 ISBN 35...S.N.Sivanandam & S.N. Deepa - Introduction to Genetic Algorithms 2008 ISBN 35...
S.N.Sivanandam & S.N. Deepa - Introduction to Genetic Algorithms 2008 ISBN 35...
 
Analysis of selection schemes for solving job shop scheduling problem using g...
Analysis of selection schemes for solving job shop scheduling problem using g...Analysis of selection schemes for solving job shop scheduling problem using g...
Analysis of selection schemes for solving job shop scheduling problem using g...
 
Analysis of selection schemes for solving job shop
Analysis of selection schemes for solving job shopAnalysis of selection schemes for solving job shop
Analysis of selection schemes for solving job shop
 
M018147883
M018147883M018147883
M018147883
 
Application of Genetic Algorithm in Software Engineering: A Review
Application of Genetic Algorithm in Software Engineering: A ReviewApplication of Genetic Algorithm in Software Engineering: A Review
Application of Genetic Algorithm in Software Engineering: A Review
 
A Defect Prediction Model for Software Product based on ANFIS
A Defect Prediction Model for Software Product based on ANFISA Defect Prediction Model for Software Product based on ANFIS
A Defect Prediction Model for Software Product based on ANFIS
 
A Defect Prediction Model for Software Product based on ANFIS
A Defect Prediction Model for Software Product based on ANFISA Defect Prediction Model for Software Product based on ANFIS
A Defect Prediction Model for Software Product based on ANFIS
 
Specification based or black box techniques
Specification based or black box techniques Specification based or black box techniques
Specification based or black box techniques
 
Specification based or black box techniques
Specification based or black box techniquesSpecification based or black box techniques
Specification based or black box techniques
 
Specification based or black box techniques
Specification based or black box techniquesSpecification based or black box techniques
Specification based or black box techniques
 
Specification based or black box techniques (andika m)
Specification based or black box techniques (andika m)Specification based or black box techniques (andika m)
Specification based or black box techniques (andika m)
 
Bd36334337
Bd36334337Bd36334337
Bd36334337
 

Recently uploaded

Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
Science&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdfScience&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdfjimielynbastida
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsSnow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsHyundai Motor Group
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDGMarianaLemus7
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxnull - The Open Security Community
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 

Recently uploaded (20)

Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
Science&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdfScience&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdf
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsSnow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDG
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort ServiceHot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 

Software testing using genetic algorithms

  • 1. SOFTWARE TESTING USING GENETIC ALGORITHMS Authored By: Akshat Sharma, Rishon Patani and Ashish Aggarwal Reviewed by: Nurhussen Menza
  • 2. Publication details  School of Computer Science and Engineering, VIT University, Vellore, Tamil Nadu, India  International Journal of Computer Science & Engineering Survey (IJCSES) Vol.7, No.2, April 2016 SOFTWARE TESTING USING GENETIC ALGORITHMS 2
  • 3. Introduction  This paper presents a set of methods that uses a genetic algorithm for automatic test-data generation in software testing.  In addition to this introduction and a conclusion at the end It is organized in to four major sections  The problem  Methods used  Results claimed  Critics SOFTWARE TESTING USING GENETIC ALGORITHMS 3
  • 4. The research problem  The paper presents Software testing is a process in which the runtime quality and quantity of a software is tested to maximum limits.  The basic test of software is done in the environment for which it is has been designed.  The authors claim that Genetic algorithms are one of the best ways to solve a set of problems for which little information is given. And it is very general algorithm and so they will work well in any search space. SOFTWARE TESTING USING GENETIC ALGORITHMS 4
  • 5. Cont…  According to the authors the Evolutionary Testing uses a kind of meta-heuristic search technique, the Genetic Algorithm (GA), to convert the task of test case generation into an optimal problem. It’s run through is checked for correct and efficient outputs.  The authors stated that different types of genetic algorithms is done on this paper. SOFTWARE TESTING USING GENETIC ALGORITHMS 5
  • 6. Cont…  Different algorithms have been run on different tools and analyzed for their performance. All these algorithms follow the same basis of evolutionary testing but have different cost functions.  On running these cost functions on different tools, observations on how these functions respond are made. SOFTWARE TESTING USING GENETIC ALGORITHMS 6
  • 7. Approaches and Methods employed  According to the authors Genetic algorithms use the following three operations on its population.  Selection  Crossover  Mutation Let us see them one by one; SOFTWARE TESTING USING GENETIC ALGORITHMS 7
  • 8. Cont…  Selection:- A selection process is applied to determine a way in which individuals are chosen for mating from a population based on their fitness. Fitness is defined as a characteristic and capability of an individual to survive and reproduce in an environment. SOFTWARE TESTING USING GENETIC ALGORITHMS 8
  • 9. Conts…  Crossover:- Crossover involves swapping of sequence of bits or genes in the string between two individuals. This process of swapping is carried out and repeated each time with different parent individuals until the next generation has optimum individuals. SOFTWARE TESTING USING GENETIC ALGORITHMS 9
  • 10. Conts…  Mutation: After the crossover process, the mutate operation is applied to a randomly select subset of the population. Mutation leads to an alteration of chromosomes in small new ways to introduce good traits. The main aim of mutation is to bring diversity in population. SOFTWARE TESTING USING GENETIC ALGORITHMS 10
  • 11. Results and discussions  According to the authors Genetic algorithms are most efficient and effective in a search space for which little is known.  Then again, genetic algorithms can be used to produce solutions to problems working only in the test environment and deviates once you try to use them in the real world.  So when put simply, genetic algorithm can be used to create solutions for problems that are not very easy to calculate and analyze. SOFTWARE TESTING USING GENETIC ALGORITHMS 11
  • 12. Cont…  And the authors listed some implementation of Genetic Algorithm(GA) in software testing like:-  Test case generation using GA in Ruby Trust-based system  Genetic Algorithm Implementation in C++  Genetic Algorithm Implementation using Matlab SOFTWARE TESTING USING GENETIC ALGORITHMS 12
  • 13. Critics  Positive aspects  The paper is clear, easy to read and understand  The logicality of the findings given the problem statement is acceptable  The finding and well evaluated and explained deeply  The implementation section have details regarding on implementation of Genetic algorithm in different software testing mechanism like MATLAB, Ruby & C++.  The paper was figurative and explanatory with examples. SOFTWARE TESTING USING GENETIC ALGORITHMS 13
  • 14. Cont…  Negative aspects  Review of related works is also not mentioned in the paper.  The general approach was used instead of comparative approach with other algorithms. SOFTWARE TESTING USING GENETIC ALGORITHMS 14
  • 15. Conclusion  The work is motivational  With all its limitations it can be said that the authors really achieve their objectives  Good for further research on this topic as the direction given by the authors SOFTWARE TESTING USING GENETIC ALGORITHMS 15