What is Mutation Testing?

Answer Posted / kris

A testing methodology in which two or more program
mutations are executed using the same test cases to
evaluate the ability of the test cases to detect
differences in the mutations.
---------------------------------------------
Mutation Testing is a fault-based testing technique
Measure the effectiveness of test cases
Assumption: a program will be well tested if all simple
faults are detected and removed

Simple faults are introduced into the program by creating a
set of faulty version, called MUTANTS

A mutant P’ is a program that is similar to the program P
being tested
It differs from P only by a mutation (mutant operators)
Mutant operators example: Istruction delete, Change of a
constant value, Change of a variable

Test cases are used to execute these mutants with the goal
of causing each mutant P’ to produce incorrect output
If P’ produce different results from P, running the same
test case T  Mutant killed

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What test strategy followed in your project?

1714


Describe bottom-up and top-down approach in testing?

647


How you will begin to improve the QA process?

2736


What are the tables in testplans

563


What does the test strategy include?

557






Explain what is traceability matrix?

577


What are the types of documents in sqa?

599


Explain functions of quality assurance department.

635


What the purpose of testing?

612


how much it is necessary that if u r a sqa engineer then ur programming should be strong or either u have only concepts of it but u r not a good programmer.If the person is not a good programmer then do they are able to make their carrer in this field of qa and do it has good scope for them being not a good programmer?

1810


What is destructive testing?

705


can you provide negative scenarios for ios alarm clock

898


In an example of a Bank Teller requesting that her computer program should include an addition that shows the full Customer Profile on her main screen, what would a Waterfall vs. Agile approach include and/or look like for such a request?

428


What is the difference between web, window, desktop and client server application testing?

617


What are the benefits of destructive testing?

584