Sandro Santilli
1ee0c36e79
Note the privs required by PostgreSQL user sourcing test init scripts
2024-06-26 12:21:19 +02:00
Sandro Santilli
e4ec6f0700
Provide a sourceable shell script setting up test environment
...
Testing locally becomes as simple as (from build dir):
. tests/env.sh
python ${srcdir}/tests/src/python/test_provider_postgres.py
2024-06-23 15:44:32 +02:00
مهدي شينون (Mehdi Chinoune)
97b19f453f
Replace docker-compose
by docker compose
2024-04-02 21:36:51 +00:00
hugh
935f7ef71a
fix my own typo
2023-06-19 21:00:19 -04:00
hugh
06767c094c
d flag typos
2023-06-19 20:58:21 -04:00
Sandro Santilli
3a5b0a8fec
Mention ctest -N
2023-02-17 16:07:23 +01:00
Sandro Santilli
c511d5e538
Remove test which was has been disabled for a long time
...
Closes #48962
2022-06-15 10:44:36 +10:00
Sandro Santilli
36a39470e2
Add information about the .ci/run_tests.sh script
2022-06-10 21:28:02 +02:00
Sandro Santilli
749ab3f58d
Improve documentation about runnng tests
...
- Add hints about hunting for names to pass to ctest -R
- Add a test environment preparation section in test/README.md
- Add section about using docker for PostgreSQL test env setup
- Tweak instruction about running python tests manually
- avoid $PWD assumption
2022-01-31 18:17:21 +01:00
Sandro Santilli
ccdf4a5c85
Document PostgreSQL test db requirements
...
Test DB needs be accessible via custom username/password,
and the qgis_test service should connect as a user with
the privilege to create other users.
References
https://github.com/qgis/QGIS/issues/45380#issuecomment-934531466
2021-10-05 22:57:08 +02:00
Sandro Santilli
46a05727e8
Use service=qgis_test for referencing test database
...
Makes PostgreSQL testing setup consistent.
Updates README accordingly
2019-11-14 11:30:21 +01:00
Sandro Santilli
c4c22db2a0
[make check] Use xvfb with screen number 0
...
This fixes make check for me, and it is already what debian/rules
uses (and scripts/jenkins-run.sh)
Closes #31473
2019-08-31 01:20:40 +02:00
Sandro Santilli
7e3b539a6d
Fix typo in xvfb package name comment
2019-08-31 01:20:40 +02:00
Éric Lemoine
c09d39ef15
Mention xvfb-run in tests/README.md
2019-05-16 11:52:05 +02:00
Harrissou Sant-anna
9e6b8ed59d
Use PostGIS and PostgreSQL spelling when appropriate
2017-07-07 01:26:38 +02:00
Sandro Santilli
eddf23c381
Make the check
rule use xvfb-run, drop check-no-x
...
I see no reason for anyone wanting to see popping windows during
a `make check` run. Closes #12172 .
2017-06-06 12:39:35 +02:00
Sandro Santilli
38d905f694
Add a notice about service=qgis_test being used by some tests
2017-06-06 09:51:30 +02:00
Sandro Santilli
accf3f1845
ENABLE_PGTESTS doesn't really make sense w/out ENABLE_TESTS
...
[ci skip]
2017-05-30 11:13:07 +02:00
Matthias Kuhn
85146ca4be
Add description for starting python tests in gdb
2017-01-20 12:23:23 +01:00
Matthias Kuhn
cc0ada9f11
Add a hyperlink to the processing tests readme
2016-10-24 14:37:28 +02:00
Harrissou Sant-anna
8f13d4e242
typo fix
2016-10-24 14:33:22 +02:00
Sandro Santilli
96e7883b13
Add more links to test-relted README files
2016-10-24 11:43:36 +02:00
Sandro Santilli
31cd7a81a3
Add link to processing test document
2016-10-24 11:20:22 +02:00
Sandro Santilli
d30a8c1fc2
Add hint about running specific test methods in python unit tests
2016-10-13 20:32:53 +02:00
Sandro Santilli
cdf05acac8
Add script to create and initialize postgis test database
2016-02-17 11:08:18 +01:00
Sandro Santilli
ab580fbd0e
Do not hard-code database connection parameters
...
Rely on libpq defaults instead (overridable via environment)
2016-02-15 18:17:34 +01:00
Sebastian Dietrich
ebf132edb8
Changed the documentation of the postgres test to match the actual behavior.
2015-11-15 22:39:02 +01:00
Matthias Kuhn
8571ae7eab
Convert tests/README to markdown and add more information
2015-05-22 11:57:16 +02:00