vogtb
Joined 11 years ago
Joined 11 years ago
Always fun to have someone over who knows the city. We'll spend 20 minutes pointing to all the buildings we've worked in, places we've eaten, or where The Bear or The Fugitive were filmed.
On a side note, a lot of people in this thread are doing a sort of "I don't get it, your website sucks" but it's like, come on dude! Just read the site! It takes less time to read the pricing, docs, and FAQ than it does to post about how you don't get it.
I'm using it w/ supabase, and it works really well.
They have a small doc on it that's a better primer than the pgtap docs: <https://supabase.com/docs/guides/database/extensions/pgtap>.
Pretty easy to get started, I'm doing something like this in a Makefile.
supabase_tests := $(call rfind, supabase/tests/*_tests.sql)
DB_URL := "postgresql://postgres:postgres@localhost:54322/postgres"
test-supabase: $(supabase_tests)
@echo "Testing supabase..." && \
echo "${supabase_tests}" && \
psql -f supabase/tests/setup.sql ${DB_URL} && \
$(foreach t,$(supabase_tests),\
echo "Test: $(t)..." && psql -f $(t) ${DB_URL} $(__EXEC)) && \
psql -f supabase/tests/teardown.sql ${DB_URL}
https://vogt.world/