2 ms·
You can still write your test to express user intent (`it completes in [time window a user expects]`), generate the load your representative of what your user w
by eyelidlessness 7y ago
You can still write your test to express user intent (`it completes in [time window a user expects]`), generate the load your representative of what your user would encounter, and test that. If your test looks for `COUNT DISTINCT`, you aren't verifying that the results are delivered in the time expected, you're testing something else entirely and you may have no idea what a user will experience.