From f186e85fe866490bc7becc92b628f25c6740b35d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ramiro=20Nu=C3=B1ez=20Dosio?= Date: Tue, 8 Aug 2023 13:10:44 +0100 Subject: [PATCH] Update apps/www/_blog/2023-08-08-supabase-local-dev.mdx Co-authored-by: Copple <10214025+kiwicopple@users.noreply.github.com> --- apps/www/_blog/2023-08-08-supabase-local-dev.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/www/_blog/2023-08-08-supabase-local-dev.mdx b/apps/www/_blog/2023-08-08-supabase-local-dev.mdx index 29a84628e74..6a0951800ed 100644 --- a/apps/www/_blog/2023-08-08-supabase-local-dev.mdx +++ b/apps/www/_blog/2023-08-08-supabase-local-dev.mdx @@ -152,7 +152,7 @@ Finally, we’ve added a Migrations view [in the dashboard](https://app.supabase ![Test your database](/images/blog/launch-week-8/day-2/test-your-database.png) -We’ve simplified the database testing experience, with `supabase test`. When you run `supabase test new`, we’ll stub out a [pgTAP test](https://pgtap.org/). The CLI includes [pg_prove and TAP harness](https://pgtap.org/pg_prove), so all you need to do is run `supabase test db`. +We’ve simplified the database testing experience, with `supabase test`. Runing `supabase test new` stubs out a [pgTAP test](https://pgtap.org/) for you to fill with testing logic. The CLI includes [pg_prove and the TAP harness](https://pgtap.org/pg_prove), so all you need to do is run `supabase test db`. To make life even easier, our friends at [Basejump](https://usebasejump.com/) have created an entire suite of [Supabase Test Helpers](https://github.com/usebasejump/supabase-test-helpers) which make it simple to create users, run tests as an [authenticated user](https://usebasejump.com/blog/testing-on-supabase-with-pgtap#testing-authenticated), and test your [RLS policies](https://usebasejump.com/blog/testing-on-supabase-with-pgtap#rls-testing).