Files
supabase/tests
Ivan Vasilov dd572efb0d chore: Switch repo to use pnpm (#29928)
* Fix some missing and duplicate dependencies.

* Fix the types for jest in ai-commands package.

* Replace all npm commands with pnpm. Add pnpm files and workspace links.

* Fix rimraf to work with pnpm.

* Refactor the github actions to work with pnpm.

* Delete package-lock.json.

* Fix the tailwind configs to not include node_modules.

* Fix random files.

* Add preinstall scripts to all packages.

* Fix the Dockerfile to work with pnpm.

* Update the DEVELOPERS documentation.
2024-12-20 13:07:20 +01:00
..
2022-10-12 14:50:04 +03: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