Test Driven Code Reviews | Moving from Subjective to Objective Code Reviews

Published: 20 October 2023
on channel: Cognitive Programmer
187
9

Link to the medium blog on the same topic :   / d5a02a044366  

Code reviews are something that is universal in any software development organization. However, if we look into the practices of code reviews, it's more or less have become as checklist which needs to be ticked to be able to move forward.

The original intention of code reviews are to make sure that the code does the right thing with desired quality, but just by looking into someone else's code, it's difficult for someone to give valuable comments apart from some cosmetic code review comments like function or variable names and others.

To overcome the limitations of the code review and to make sure that the code reviews are more objective than subjective in nature, I'm proposing what I call it as Test Drive Code Reviews or TD;CR;

The idea behind test driven code reviews is that apart from any cosmetic review comments, any functional and non-functional behaviour related comment must be validate by a unit test cases before something can be done on the same. The unit test cases may require creating Mocks, fakes & stubs.

The unit test cases armed with mocks, fakes and stubs will be able to validate the scenario of review comment. This will not only increase the viability of the code reviews, but will also make sure that the quality of the code increase.

I do hope and believe that this will help you in converting your code review process from subjective checklist to objective actionable items.

Here are the chapter of this video


0:00 : Code Reviews in Software Organisations
0:14 : Test Driven Code Reviews
0:52 : The Purpose of Code Reviews
01:38 : How code reviews are done
02:29 : The problems with code review approach
03:34 : Coding Practices Vs Compiled Code
04: 43 : Code Review and personal opinions
05:14 : Code reviews and Human Factor
06:09 : Code Reviewers Vs Software Developers
06:35 : Code Review Checklist
07:47 : Test Driven Code Reviews - What is it?
09:39 : Code reviews based on the test cases


#codereview #coding #programming



SUBSCRIBE - https://www.youtube.com/AnInsightfulT...
INSTAGRAM - https://www.intagram.com/AnInsightful...
Twitter -   / aitdaksh  
Facebook -   / aninsightfultechie  


Watch video Test Driven Code Reviews | Moving from Subjective to Objective Code Reviews online without registration, duration hours minute second in high quality. This video was added by user Cognitive Programmer 20 October 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 187 once and liked it 9 people.