News for hackers. Stuff that matters.
Re:Changing how I review code by loloquwowndueo on Wednesday June 30, 2021 @04:49PM (#27693292)
A reviewer in my team is fond of changing some of the code in the PR and running the tests. The expectation is that if the code is changed randomly a test should always fail. This helps catch untested code paths.

It’s somewhat similar to the practice of automated code fuzzing, only manual and scoped to changes in a particular PR.

Re:Changing how I review code by travisjungroth on Wednesday June 30, 2021 @05:17PM (#27693500)
That's mutation testing[1]. For most languages there are tools that can scope the mutations to a diff.

[1]https://en.wikipedia.org/wiki/Mutation_testing