2 ms·
I'm not sure how I feel about it yet, but I've seen codebases that have tests asserting the number of queries that should have been run. Those tests have caught
by jwineinger 3y ago
I'm not sure how I feel about it yet, but I've seen codebases that have tests asserting the number of queries that should have been run. Those tests have caught a couple of issues in the past, and they do seem to make the engineers on that team understand better what their ORM is doing.