diff --git a/test_runner/README.md b/test_runner/README.md index 27c7c499df..21d3ae6711 100644 --- a/test_runner/README.md +++ b/test_runner/README.md @@ -3,13 +3,20 @@ This directory contains integration tests. Prerequisites: -- pytest, psycopg2 - Install using something like this: - - `pip3 install pytest psycopg2` (Debian or Ubuntu) - -- an already compiled zenith + postgres tree - - See the root README.md for details - +- Python 3.6 or later +- Python packages: pytest, psycopg2 + - pytest 6.0 is required. + - __NOTE: `apt install` on Debian/Ubuntu won't work.__ + They ship a much older version of pytest (and sometimes rename it to + `pytest-3`.) + - Install using something like this: + - `pip3 install pytest psycopg2` (Debian or Ubuntu) +- Zenith and Postgres binaries + - See the root README.md for build directions + - Tests can be run from the git tree; or see the environment variables + below to run from other directories. +- The zenith git repo, including the postgres submodule + (for some tests, e.g. pg_regress) ### Running the tests diff --git a/test_runner/pytest.ini b/test_runner/pytest.ini new file mode 100644 index 0000000000..78b5304f78 --- /dev/null +++ b/test_runner/pytest.ini @@ -0,0 +1,2 @@ +[pytest] +minversion = 6.0