by devrandomguy · 9y ago · 0 comments
cat /dev/random | ./build-inline.sh | ./test-inline.sh | tee ./src/blob.c &&
git commit -Am "I have no idea how this works, but I am certain that it works perfectly, see you all on Monday!" &&
git push production master --force
When presented like this, relying on human intelligence and experience doesn't seem like such a bad thing after all.Just so we're clear, my username was not inspired by this scheme.
This is known as mutation testing.
https://en.wikipedia.org/wiki/Mutation_testing
I've tried it a few times, I generally found it too slow to be an everyday part of my routine, but interesting tool to have in your belt for e.g. evaluating test in a codebase you didn't write yourself.