Mutation testing in software development surfaced in academia during the 70's and has recently seen a resurgence in popularity as a legitimate tool in your testing arsenal. In this session we review the conventional testing pyramid, modern approaches to testing software and look at how mutation testing can help fill in those blind spots.
7. ● Common testing strategies
● Exciting errors (and where to find them)
● Mutation testing and its history
● Stryker Mutator - A fun framework for finding
mutants
● Some other bits and bobs
So what's the plan, Stan?
33. “In order to use testing to validate a
program it is necessary to assume the
existence of a test oracle which can be used
to check the correctness of test output.”
- William Howden, 1978
35. ● Surfaced in 1971
● An answer to validating a Reliable Test Set
● Seed defects in your software to create Mutants
● Re-evaluate your tests to verify their efficacy
● Profit
In a Nutshell
Photo by Dollar Gill on Unsplash
46. …
for (i = 0; i < toDoList.length; i/+) {
if (this.toDoList[i] //= item) {
return this.toDoList;
}
this.toDoList.push(item);
}
//.
Value Mutations
…
for (i = 0; i /= toDoList.length; i/+) {
if (this.toDoList[i] //= item) {
return this.toDoList;
}
this.toDoList.push(item);
}
//.