this post was submitted on 22 May 2026
-9 points (40.0% liked)
Programming
27127 readers
285 users here now
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Rules
- Follow the programming.dev instance rules
- Keep content related to programming in some way
- If you're posting long videos try to add in some form of tldr for those who don't want to watch videos
Wormhole
Follow the wormhole through a path of communities !webdev@programming.dev
founded 3 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
If PRs arent being reviewed for hours or days thats a management problem. No amount of unit tests are a replacement for another set of eyes.
hmm, i have mixed feelings about this.
This i agree with totally.
Whether or not it's human resource based or policy based, it's usually a failing of process and that's generally a fault with management. in my experience anyway.
This though, while i wouldn't compare PR's to Unit testing in the first place there is some overlap in quality control.
If you have robust enough testing suites it can reduce the PR burden in a variety of ways, though most of them come down to automating away the need to catch so many logic and regression bugs.
That's not to say reviews aren't needed, they definitely are, it's just automated testing does have an overlap.
Notice that i said testing suites though, that's not just unit testing, that’s the whole CI testing caboodle.
The problem with automated tests is that they only test for the narrow slice of things you actually think to test for. They don't cover the gamut of things you didn't think to test for.
They also only test how you write them to test for, which means if you make a bad assumption somewhere along the way your tests can't help you find it.
Peer reviews cover two very important things:
A fresh set of eyes and a different perspective is just so important to writing robust, quality code.