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 the first thing You’ll do as a SQA Tester if I hired You?

1831


In Software Development Team, Who has the biggest and smallest salary? Can You list all of it? It say that SQA Tester is the smallest one, Is it right?

1882


What is the most critical bug you found in your latest project or overall in your career ?

5923


Explain the process of project tailoring.

808


What is difference between test effectiveness and test efficiency?

804


How is adhoc testing different from exploratory testing?

744


Define test strategy.

804


What is code walkthrough?

825


We have a directory structure /usr/local/jboss/server/{$app_name}/log/*.log which contains 1000 log files. A web application has been logging to the cloud.log file, the attempts of a user called test. The code logs the following way: log.debug(username); where the username equals “test”. What command line application and or combinations of applications will you call in order to create a file named user_log.csv that contains the following lines, where the timestamp is sorted: timestamp,username

1967


What are the key components of a test case template

890


how we apply cmmi and iso in oyr testing or qa do it have some specifuc format

2058


How do you decide you have tested enough?

785


What does the software qa document should include?

780


What are the contents of test plans and test cases?

778


What are the advantage and disadvantages of automated testing?

916