Hacker News new | past | comments | ask | show | jobs | submit login

Our test suite expects that the database name has a `_test` suffix, so you can't run the tests even locally without the suffix.



Our 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.


(distribute as in parallelise, possibly across multiple machines)


Our test suite uses DB user that exists in docker DB but not in prod, so droping prod database cannot happen.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: