7 May
2023
7 May
'23
9:20 p.m.
There is built-in support for installing system packages (currently for Debian and Fedora or alike), so you would be able to install the database (see [1] for an example of a package that does something like this).
Doing integration testing like this is extremely fragile. The approach I've found best (at least in my case) is running your DB service as a Docker image.