Testing
Integration tests
- Run
scripts/test.sh
to run all tests using_sqlx_test
databases and store test infos inlaguna_dev_db
in_sqlx_test
schema rather thanpublic
used for local development.
To delete zombie test databases if tests failed use scripts/dbdroptest.sh _sqlx_test
.
tip
On WSL or Mingw64 you likely don't have a tty terminal. For that you can use scripts/dbdroptest_fixtty.sh scripts/dbdroptest.sh _sqlx_test
.
note
You probably don't want to delete test databases, because they are useful for debugging/inspection.