Types of Mutation Testing: A Comprehensive Guide for Software Engineers

Mutation Testing in Software Engineering  | Types of mutation testing

Mutation Testing in Software Engineering  | Types of mutation testing

Why Testing is important ?

  • Testing is significant in light of the fact that product bugs could be costly or even risky. Programming bugs and errors can possibly cause money related and human misfortune .Not only programming but in lots of cases testing plays an vital role.
  • In April 2015, Bloomberg terminal in London slammed because of programming glitch influenced in excess of 300,000 merchants on monetary markets. It constrained the legislature to delay a 3bn pound obligation deal.
  • Nissan vehicles need to review more than 1 million vehicles from the market because of programming disappointment in the airbag tactile locators. There has been accounted for two mishap because of this product disappointment. 
  • Starbucks had closed around 60% of his stores in U.S and Canada because of programming disappointment in its POS framework.
  • A small portion of the Amazon's outsider retailers saw that their item's cost is decreased to 1p because of a product bug.
  • Helplessness in Window 10. This bug empowers clients to escape from security sandboxes through a defect in the win32k framework. 
  • In 2015 military aircraft F-35 succumbed to a product bug, making it unfit to distinguish targets effectively.

  • China Airlines Airbus A300 smashed because of a product bug on April 26, 1994, executing 264 guiltless live 
  • In 1985, Canada's Therac-25 radiation treatment machine failed because of programming bug and conveyed deadly radiation dosages to patients, leaving 3 individuals dead and fundamentally harming 3 others. 
  • In April of 1999, a product bug caused the disappointment of a $1.2 billion military satellite dispatch, the costliest mishap in history .
  • In may of 1996, a product bug caused the ledgers of 823 clients of a significant U.S. Then the bank is credited with 920 million dollars.


What is Mutation Testing ??


  • Mutation testing is a category of WHITE BOX Testing.
  • Mutation was originaly proposed in 1971.
  • In mutation testing we make some arbitary changes to a program at a time. Each time the program is changed, it is called a mutated program and the change effected is called a mutant.






Types of Mutation Testing :

  • Statement Mutation : -  Developer cut and pastes a part of the code of which the outcome may be a removal of some line.

  • Value Mutation :- Value of primary parameters are modified .

  • Decission Mutation :- Control statements are to be changed.



How to calculate Mutation Score ??

Mutation score = (killed mutants / total number of mutants) * 100

You can visit  my youtube channel by clicking Here
Previous Post Next Post

Contact Form