3 ms·
Our test suite expects that the database name has a `_test` suffix, so you can't run the tests even locally without the suffix.
by norman784 3y ago
Our test suite expects that the database name has a `_test` suffix, so you can't run the tests even locally without the suffix.
- masklinn 3y agoOur test harness takes an optional template as input and immediately copies it. It’s useful to distribute the test anyway, especially for non-transactional tests. If the database initialisation is costly that’s useful even if tests run on empty, as copying a database from a template is much faster than creating one DDL by DDL, for postgres at least.
- masklinn 3y ago(distribute as in parallelise, possibly across multiple machines)
- spixy 3y agoOur test suite uses DB user that exists in docker DB but not in prod, so droping prod database cannot happen.