cli/tests at develop · davs404/cli · GitHub
Skip to content

Latest commit

 

History

History
 
 

tests

Folders and files

README.md

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