Flutter Blog

Expert insights on Flutter and Dart development

Dart: Manual Mutation Testing

Dart: Manual Mutation Testing

Mutation testing is a technique for measuring the quality of your tests. Mutation testing (or mutation analysis or program mutation) is used to design new software tests and evaluate the quality of existing software tests Wikipedia There are many tools for automating this process, such as Stryker Mutator, but Dart doesn’t seem to have a tool to automate this right now. So, this post gives you a quick explanation of how you can implement a similar technique manually. This is a good way to help you prevent bugs and improve the quality of your tests. Read about Flutter Testing here. What is Mutation Testing (Automated) Mutation testing involves modifying a program in small ways.[1] Each mutated version is called a mutant, and tests detect and reject mutants by causing the behavior of the original version to differ from the mutant. This is called...
Christian Findlay Christian Findlay Dec 04, 2021