全部书籍

专业

应用 关于 Coach 登录 开始阅读

书籍暂未推出简体中文版——当前显示英文版。

Computer Science · 术语表

什么是 Mutation testing, mutant, mutation score, equivalent mutant?

又称: mutation testing · mutant · mutation score · equivalent mutant

Definition 30.7 University Computer Science — Year 3 · 第 30 章 — Software Engineering: Design, Testing and Maintenance

Mutation testing evaluates a test suite by making many small changes to the program under test, one at a time, and running the suite on each. Each changed program is a mutant; the suite kills a mutant if at least one test fails on it. The mutation score is the number of killed mutants divided by the number of mutants. An equivalent mutant is one that behaves exactly as the original program on every input, so that no test can kill it.

在原文中阅读 →