SlideShare a Scribd company logo
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

EV Charger SMPS Based.pdf
EV Charger SMPS Based.pdfEV Charger SMPS Based.pdf
EV Charger SMPS Based.pdf
LalitKapoor7
 
Chapter 22- Software Configuration Management.ppt
Chapter 22- Software Configuration Management.pptChapter 22- Software Configuration Management.ppt
Chapter 22- Software Configuration Management.ppt
TanzinAhammad
 
Need for Software Engineering
Need for Software EngineeringNeed for Software Engineering
Need for Software Engineering
Upekha Vandebona
 
EMG electromayogram
EMG electromayogramEMG electromayogram
EMG electromayogram
ASHISH RAJ
 
REAL-TIME APPLICATIONS OF PHASOR MEASUREMENT UNITS (PMU) FOR VISUALIZATION, ...
REAL-TIME APPLICATIONS OF PHASOR  MEASUREMENT UNITS (PMU) FOR VISUALIZATION, ...REAL-TIME APPLICATIONS OF PHASOR  MEASUREMENT UNITS (PMU) FOR VISUALIZATION, ...
REAL-TIME APPLICATIONS OF PHASOR MEASUREMENT UNITS (PMU) FOR VISUALIZATION, ...
Power System Operation
 
Machine Learning
Machine Learning Machine Learning
Machine Learning
Dhananjay Birmole
 
Imu sensors
Imu sensorsImu sensors
Process capability
Process capabilityProcess capability
Process capability
padam nagar
 
Computer aided software engineering
Computer aided software engineeringComputer aided software engineering
Computer aided software engineering
ČhauÐhařÿ Faísal Ãlï
 
WEARABLE SENSOR FOR HUMAN ACTIVITY MONITORING
WEARABLE SENSOR FOR HUMAN ACTIVITY MONITORINGWEARABLE SENSOR FOR HUMAN ACTIVITY MONITORING
WEARABLE SENSOR FOR HUMAN ACTIVITY MONITORING
R.PRABHU R.RAJENDRAN
 
Software Verification & Validation
Software Verification & ValidationSoftware Verification & Validation
Software Verification & Validation
university of education,Lahore
 
Electrical measurement & measuring instruments [emmi (nee-302) -unit-4]
Electrical measurement & measuring instruments [emmi  (nee-302) -unit-4]Electrical measurement & measuring instruments [emmi  (nee-302) -unit-4]
Electrical measurement & measuring instruments [emmi (nee-302) -unit-4]
Md Irshad Ahmad
 
A Study on Credit Card Fraud Detection using Machine Learning
A Study on Credit Card Fraud Detection using Machine LearningA Study on Credit Card Fraud Detection using Machine Learning
A Study on Credit Card Fraud Detection using Machine Learning
ijtsrd
 
Comparison of waterfall model and prototype model
Comparison of waterfall model and prototype modelComparison of waterfall model and prototype model
Comparison of waterfall model and prototype model
Shubham Agrawal
 
Implementation issues software engineering
Implementation issues software engineeringImplementation issues software engineering
Implementation issues software engineering
rishi ram khanal
 
DATA ACQUISITION (DAQ) IN LABVIEW
DATA  ACQUISITION (DAQ) IN LABVIEWDATA  ACQUISITION (DAQ) IN LABVIEW
DATA ACQUISITION (DAQ) IN LABVIEW
Abhishek Sur
 
Software project management Software economics
Software project management Software economicsSoftware project management Software economics
Software project management Software economics
REHMAT ULLAH
 
Cuffless blood pressure monitoring project
Cuffless blood pressure monitoring projectCuffless blood pressure monitoring project
Cuffless blood pressure monitoring project
Vipul Chavan
 
Cell Balancing techniques in EV’s 2.pptx
Cell Balancing techniques in EV’s  2.pptxCell Balancing techniques in EV’s  2.pptx
Cell Balancing techniques in EV’s 2.pptx
vinayakBhoir5
 
04 7n2is trabajo diseno dialogos
04 7n2is trabajo diseno dialogos04 7n2is trabajo diseno dialogos
04 7n2is trabajo diseno dialogos
Manuel Mujica
 

What's hot (20)

EV Charger SMPS Based.pdf
EV Charger SMPS Based.pdfEV Charger SMPS Based.pdf
EV Charger SMPS Based.pdf
 
Chapter 22- Software Configuration Management.ppt
Chapter 22- Software Configuration Management.pptChapter 22- Software Configuration Management.ppt
Chapter 22- Software Configuration Management.ppt
 
Need for Software Engineering
Need for Software EngineeringNeed for Software Engineering
Need for Software Engineering
 
EMG electromayogram
EMG electromayogramEMG electromayogram
EMG electromayogram
 
REAL-TIME APPLICATIONS OF PHASOR MEASUREMENT UNITS (PMU) FOR VISUALIZATION, ...
REAL-TIME APPLICATIONS OF PHASOR  MEASUREMENT UNITS (PMU) FOR VISUALIZATION, ...REAL-TIME APPLICATIONS OF PHASOR  MEASUREMENT UNITS (PMU) FOR VISUALIZATION, ...
REAL-TIME APPLICATIONS OF PHASOR MEASUREMENT UNITS (PMU) FOR VISUALIZATION, ...
 
Machine Learning
Machine Learning Machine Learning
Machine Learning
 
Imu sensors
Imu sensorsImu sensors
Imu sensors
 
Process capability
Process capabilityProcess capability
Process capability
 
Computer aided software engineering
Computer aided software engineeringComputer aided software engineering
Computer aided software engineering
 
WEARABLE SENSOR FOR HUMAN ACTIVITY MONITORING
WEARABLE SENSOR FOR HUMAN ACTIVITY MONITORINGWEARABLE SENSOR FOR HUMAN ACTIVITY MONITORING
WEARABLE SENSOR FOR HUMAN ACTIVITY MONITORING
 
Software Verification & Validation
Software Verification & ValidationSoftware Verification & Validation
Software Verification & Validation
 
Electrical measurement & measuring instruments [emmi (nee-302) -unit-4]
Electrical measurement & measuring instruments [emmi  (nee-302) -unit-4]Electrical measurement & measuring instruments [emmi  (nee-302) -unit-4]
Electrical measurement & measuring instruments [emmi (nee-302) -unit-4]
 
A Study on Credit Card Fraud Detection using Machine Learning
A Study on Credit Card Fraud Detection using Machine LearningA Study on Credit Card Fraud Detection using Machine Learning
A Study on Credit Card Fraud Detection using Machine Learning
 
Comparison of waterfall model and prototype model
Comparison of waterfall model and prototype modelComparison of waterfall model and prototype model
Comparison of waterfall model and prototype model
 
Implementation issues software engineering
Implementation issues software engineeringImplementation issues software engineering
Implementation issues software engineering
 
DATA ACQUISITION (DAQ) IN LABVIEW
DATA  ACQUISITION (DAQ) IN LABVIEWDATA  ACQUISITION (DAQ) IN LABVIEW
DATA ACQUISITION (DAQ) IN LABVIEW
 
Software project management Software economics
Software project management Software economicsSoftware project management Software economics
Software project management Software economics
 
Cuffless blood pressure monitoring project
Cuffless blood pressure monitoring projectCuffless blood pressure monitoring project
Cuffless blood pressure monitoring project
 
Cell Balancing techniques in EV’s 2.pptx
Cell Balancing techniques in EV’s  2.pptxCell Balancing techniques in EV’s  2.pptx
Cell Balancing techniques in EV’s 2.pptx
 
04 7n2is trabajo diseno dialogos
04 7n2is trabajo diseno dialogos04 7n2is trabajo diseno dialogos
04 7n2is trabajo diseno dialogos
 

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 Algorithms
IJCSES Journal
 
Ijcatr04051005
Ijcatr04051005Ijcatr04051005
Ijcatr04051005
Editor IJCATR
 
Software testing strategy
Software testing strategySoftware testing strategy
Software testing strategy
ijseajournal
 
Dc35579583
Dc35579583Dc35579583
Dc35579583
IJERA Editor
 
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
 
M017127578
M017127578M017127578
M017127578
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 shop
eSAT Publishing House
 
M018147883
M018147883M018147883
M018147883
IOSR Journals
 
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
IRJESJOURNAL
 
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
IJSRD
 
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
IJSRD
 
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 techniques
Aji Pamungkas Prasetio
 
Specification based or black box techniques
Specification based or black box techniquesSpecification based or black box techniques
Specification based or black box techniques
muhammad 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
 
Bd36334337
Bd36334337Bd36334337
Bd36334337
IJERA Editor
 

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
 
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 ...
 
M017127578
M017127578M017127578
M017127578
 
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

Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Product School
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
Product School
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
BookNet Canada
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
UiPathCommunity
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
DianaGray10
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
Product School
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Thierry Lestable
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Albert Hoitingh
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
DanBrown980551
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
91mobiles
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
Sri Ambati
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
Prayukth K V
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
ControlCase
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
DianaGray10
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Ramesh Iyer
 
Generating a custom Ruby SDK for your web service or Rails API using Smithy
Generating a custom Ruby SDK for your web service or Rails API using SmithyGenerating a custom Ruby SDK for your web service or Rails API using Smithy
Generating a custom Ruby SDK for your web service or Rails API using Smithy
g2nightmarescribd
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
Thijs Feryn
 
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Inflectra
 

Recently uploaded (20)

Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
 
Generating a custom Ruby SDK for your web service or Rails API using Smithy
Generating a custom Ruby SDK for your web service or Rails API using SmithyGenerating a custom Ruby SDK for your web service or Rails API using Smithy
Generating a custom Ruby SDK for your web service or Rails API using Smithy
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
 
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
 

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