Love this pattern for collecting events in a test 🧼

Oct 21, 2025 · 11:58 PM UTC

4
8
1
115
Replying to @timacdonald87
Curious what use cases you have for asserting SQL output? Have been trying to move away from this pattern
1
1
Depending on how you are filtering data, we may use different tables. We may hit an aggregated table for simple filters and raw data for more advanced filters. Sometimes I'll do an `str_contains($sql, $tableName)` kinda thing to make sure the filter hitting the right table.
1
1
Replying to @timacdonald87
We’re the same, brother👨. just your beard grows a bit differently.
Replying to @timacdonald87
Damn this is 💅