ScholarGate
Assistent
Machine learningSoftware Testing

Mutation Testing

Mutation Testing är en felinjektionsteknik som utvecklades av DeMillo, Lipton och Sayward 1978 för att utvärdera testsvitens effektivitet genom att införa små, avsiktliga buggar (mutationer) i källkoden och kontrollera om testerna upptäcker dem. En testsvit som dödar (detekterar) alla mutanter är starkare än en som uppnår hög kodtäckning utan att döda mutanter.

Öppna i MethodMindSnartVideoSnartDownload slides

Läs hela metoden

Endast för medlemmar

Logga in med ett kostnadsfritt konto för att läsa avsnittet.

Logga in

Källor

  1. DeMillo, R. A., Lipton, R. J., & Sayward, F. G. (1978). Hints on test data selection: Help for the practicing programmer. IEEE Computer, 11(4), 34–41. DOI: 10.1109/C-M.1978.218136
  2. Just, R., Jalali, D., Inozemtseva, L., Ernst, M. D., & Holmes, R. (2014). Are mutants killed by tests? How test suite composition affects the effectiveness of mutation testing. Proceedings of the 22nd ACM SIGSOFT International Symposium on Foundations of Software Engineering. link
  3. Jia, Y., & Harman, M. (2010). An analysis and survey of the development of mutation testing. IEEE Transactions on Software Engineering, 37(5), 649–678. DOI: 10.1109/TSE.2010.62

Så citerar du den här sidan

ScholarGate. (2026, June 3). Mutation Testing for Test Adequacy. ScholarGate. https://scholargate.app/sv/numerical-methods/mutation-testing

ScholarGateMutation Testing (Mutation Testing for Test Adequacy). Hämtad 2026-06-15 från https://scholargate.app/sv/numerical-methods/mutation-testing · Datamängd: https://doi.org/10.5281/zenodo.20539026