You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 2, 2018. It is now read-only.
It seems like there's at least one toolset for helping with this in go.
This is something we don't need to do right away, but should probably do before the 1.0. The basic idea is that we intentionally introduce mutations into the code (chainging '>' to '<' or += 1 to -= 1, or adding 15 instead of 16, etc, and that each mutation should cause a test to fail. If it doesn't, it means your test coverage isn't sufficient and doesn't catch simple programmer errors.
The text was updated successfully, but these errors were encountered:
https://en.wikipedia.org/wiki/Mutation_testing
It seems like there's at least one toolset for helping with this in go.
This is something we don't need to do right away, but should probably do before the 1.0. The basic idea is that we intentionally introduce mutations into the code (chainging '>' to '<' or += 1 to -= 1, or adding 15 instead of 16, etc, and that each mutation should cause a test to fail. If it doesn't, it means your test coverage isn't sufficient and doesn't catch simple programmer errors.
The text was updated successfully, but these errors were encountered: