Skip to content

Latest commit

 

History

History
59 lines (38 loc) · 598 Bytes

File metadata and controls

59 lines (38 loc) · 598 Bytes

Local e2e tests

  1. Install websocat
brew install websocat
  1. Start local stack
supabase --workdir tests start
  1. Run all tests
./e2e-test.sh supabase

Auth test

  1. Run user signup tests
./tests/auth.sh

PostgREST test

  1. Run RLS policy tests
./tests/postgrest.sh

Storage test

  1. Run storage bucket tests
./tests/storage.sh

Realtime test

  1. Join a room and broadcast
./tests/realtime.sh

Edge Function test

  1. Invoke hello-world function
./tests/edge-runtime.sh