Files
supabase/tests
Ivan Vasilov cb1e3a8170 chore: Prep work for pnpm (#29610)
* Add all missing libraries in the packages/apps.

* Add all missing Vitest imports to the tests.

* Add some missing exports to ui.

* Fix the admonition export.

* Fix various minor bugs.

* Migrate the ui package to use vitest.
2024-10-01 11:29:37 +02:00
..
2022-10-12 14:50:04 +03:00
2022-04-13 02:01:41 +04:00
2022-05-05 20:33:31 +04:00

Tests

These tests can be run with Docker.

We can use either allure-commandline as it is open source and https://github.com/marketplace/actions/allure-report-with-history as an github action to host reports with history on GitHub Pages.

Or use their paid version if we want a bit more groove and possibility to manage test cases not only as code but also manually: https://qameta.io. It can be self-hosted or cloud. Not sure that we need it now, but we can always migrate seamlessly to it if we would need it.

Steps

In the parent folder:

  • npm run docker:dev
  • npm run test

Clean up

  • npm run docker:remove