What is mutation Testing ? please give an example of mutation testing.

Questions by Yogeshkryadav

Showing Answers 1 - 5 of 5 Answers

nil

  • Jun 9th, 2006
 

Mutation testing is required to ensure  that the software does not fail. mutation testing is also a good debugging mechanism. After the software works properly, mutation testing can be done to simulate wrong inputs . sothat the software does not fail.

In mutation testing , program is modified to optain mutants of the program. different mutatants are test with the same test case, for confidence gain by the programer.

the mutation operation can be constant replacement , veribale replacements, relational operator replacements.

Ex:

input y;

x=sin(y);

print x;

here we can check the program by taking th e mutant 'y' in place of sin(y). for the reaon to check the stability of the program.

  Was this answer useful?  Yes

madhurich

  • Jun 13th, 2006
 

it is a type of testing in which,for the original version of a program ,several other versions of same are generated  that causes formation of diff. test data elements.

Each changed version of a program is  mutent.hence it is mutation testing.

  Was this answer useful?  Yes

Venu Madhav

  • Jun 16th, 2006
 

It is the process of purposefully inserting errors into the program, to verify that the test is detecting the errors

  Was this answer useful?  Yes

g3

  • Jun 29th, 2006
 

A method for determing if a set of test data or test cases is useful, by delibratley introducing various code changes ('bugs') and restesting with the original test data / cases to determine  if the bugs are detected.

  Was this answer useful?  Yes

chandu goud

  • Jul 18th, 2006
 

Validating the test cases by intentional ingestion of invalid parameters or inputs, to the program or application ,so that execution of test cases should detect them.

 

 

 

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions