Wolfgang Walther and Wolfgang Walther
8b63d928ae
test: Reorganize test/ folder into one subdirectory for each test type
2022-01-07 13:10:36 +01:00
Wolfgang Walther and Remo
b7dcc63e37
nix: Simplify with_tmp_db
2021-11-24 18:06:56 +01:00
Wolfgang Walther and Wolfgang Walther
ba47a54293
nix(refactor): Make with_tmp_db true checkedShellScript
...
This extends the interface of withTmpDb to allow loading different sets
of database fixtures via `postgrest-with-postgresql-xx --fixtures
<path>`.
2021-04-24 15:07:13 +02:00
Jérémy Pagé and GitHub
67f555d24e
nix: Fix incorrect use of bash variable ( #1797 )
2021-04-08 14:33:18 +02:00
Remo Rechkemmer and GitHub
2425cddaed
improve io-tests
...
Tests are now run through unix socket by default allowing
parallel execution. Test setup configuration is done via
environment variables instead of config files.
2020-12-24 16:09:25 +01:00
Wolfgang Walther and Wolfgang Walther
b5185de706
nix: add "cd $rootdir" to all shell scripts via checked-shell-script
2020-12-24 14:44:01 +01:00
Wolfgang Walther and Wolfgang Walther
69b459e7b6
Use environment variables for configuration in developer tooling
...
Avoid the need for configuration files for temporary database connections.
2020-12-23 19:39:40 +01:00
Wolfgang Walther and Wolfgang Walther
7d6d015822
improve error output for io-tests and with_tmp_db
2020-12-03 22:32:07 +01:00
Remo and GitHub
8b41b71db7
More consistent loading of the test fixtures ( #1506 )
...
Remove db setup from the Haskell test suite and include it in the test bash scripts.
2020-04-29 12:22:15 -05:00
Remo and GitHub
a7c396e464
Fix and improvements to with_tmp_db ( #1488 )
...
* Load fixtures in one psql session
* Add an option to keet the tmp directory and logs.
2020-04-22 11:57:40 -05:00
Remo and GitHub
f6ce93f2c8
Add a script for running the test suite in a local temporary database. ( #1476 )
2020-04-14 12:34:50 -05:00