© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•8mo ago
Seph

What's your approach in testing with supabase?

I am currently exploring approach in testing NextJS with Supabase. I am current exploring playwright to do end-to-end testing.


Is it a good idea to just start the database before each test and stop it after each test. This is slow. Another limitation to this is that I have to run them sequentially instead of parallel because of the static file configuration.


Another concern that I have is in the seeding. I would like to have a different seed for each test. I looked at the cli documentation but there isn't a command for specifying the seed file.

I would love to know your approaches in doing end-to-end testing.

Thanks in advance!
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Approach to testing
SupabaseSSupabase / help-and-questions
4y ago
postman with supabase auth for route testing
SupabaseSSupabase / help-and-questions
3y ago
Supabase Auth: why set supabaseResponse in setAll() again?
SupabaseSSupabase / help-and-questions
3mo ago
Testing Auth flow on mobile with localhost Supabase
SupabaseSSupabase / help-and-questions
3y ago