Re:Why pre is better than post production code review
by rjbrock on Wednesday August 05, 2015 @05:15PM
(#10012912)
You can make code reviews required by using something like Gerrit (https://code.google.com/p/gerrit/) and having it be the gate to your master branch.
The system I use at work is:
code -> push to gerrit -> gerrit automatically runs all unit tests and if they pass you get a +1 from gerrit -> get a code review + approval from a colleague -> submit.
So to get a piece of code to production you need both all unit tests to pass AND a code review. I am a big fan of this system and gerrit
The system I use at work is:
code -> push to gerrit -> gerrit automatically runs all unit tests and if they pass you get a +1 from gerrit -> get a code review + approval from a colleague -> submit.
So to get a piece of code to production you need both all unit tests to pass AND a code review. I am a big fan of this system and gerrit