ScholarGate
Assistent
Machine learningSoftware Testing

Mutationsprøvning

Mutationsprøvning er en fejlinjektionsteknik udviklet af DeMillo, Lipton og Sayward i 1978, der evaluerer testsuittens effektivitet ved at introducere små, bevidste fejl (mutationer) i kildekoden og kontrollere, om testene opdager dem. En testsuite, der dræber (detekterer) alle mutanter, er stærkere end en, der opnår høj kodedækning uden at dræbe mutanter.

Åbn i MethodMindSnartVideoSnartDownload slides

Læs hele metoden

Kun for medlemmer

Log ind med en gratis konto for at læse dette afsnit.

Log ind

Kilder

  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ådan citerer du denne side

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

ScholarGateMutation Testing (Mutation Testing for Test Adequacy). Hentet 2026-06-15 fra https://scholargate.app/da/numerical-methods/mutation-testing · Datasæt: https://doi.org/10.5281/zenodo.20539026