4 ms·
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 tes
by masklinn 3y ago
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.
- masklinn 3y ago(distribute as in parallelise, possibly across multiple machines)