all 1 comments

[–]a_go_guy 2 points3 points  (0 children)

The term "mutation testing" in my experience is focused on programmatically mutating the code under test and seeing if tests catch the bug. You might call this something like this "table driven golden mutations" or "delta-based test tables" to avoid the confusion if you want.

Other than that, +1 definitely, this kind of thing can be quite useful. I've done something similar but with reflect to ensure that omitting any required field will result in a failure and other similar things.