Thread: pgAdmin 4 commit: Test suite enhancements:

pgAdmin 4 commit: Test suite enhancements:

From
Dave Page
Date:
Test suite enhancements:

1. The user will specify the tablespace path in test_config.json.in
2.  If tablespace path not found, skip the test cases for that server(Only tablespace test cases)
3.  Add the skipped test summary in the test result. (Now it's showing on console + in log file, but need to update in
afinal enhanced test summary report. Which is research point we will work on that after finishing all nodes API test
cases)
4.  Removed the test_ prefix from the values in the config files.
5. Add tablespace and roles tests

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=81e2bc1e80388474256080bcd4226e3a0356ffe2
Author: Navnath Gadakh <navnath.gadakh@enterprisedb.com>

Modified Files
--------------
.../servers/databases/tests/test_db_add.py         |  38 ++-
.../servers/databases/tests/test_db_delete.py      |  49 ++--
.../servers/databases/tests/test_db_get.py         |  37 ++-
.../servers/databases/tests/test_db_put.py         |  43 ++-
.../server_groups/servers/databases/tests/utils.py | 176 ++++++++++++
.../server_groups/servers/roles/tests/__init__.py  |  16 ++
.../servers/roles/tests/test_role_add.py           |  55 ++++
.../servers/roles/tests/test_role_delete.py        |  58 ++++
.../servers/roles/tests/test_role_get.py           |  67 +++++
.../servers/roles/tests/test_role_put.py           |  84 ++++++
.../server_groups/servers/roles/tests/utils.py     | 187 +++++++++++++
.../servers/tablespaces/tests/__init__.py          |  16 ++
.../servers/tablespaces/tests/test_tbspc_add.py    |  55 ++++
.../servers/tablespaces/tests/test_tbspc_delete.py |  58 ++++
.../servers/tablespaces/tests/test_tbspc_get.py    |  78 ++++++
.../servers/tablespaces/tests/test_tbspc_put.py    |  90 ++++++
.../servers/tablespaces/tests/utils.py             | 195 +++++++++++++
.../server_groups/servers/tests/test_server_add.py |  22 +-
.../servers/tests/test_server_delete.py            |  28 +-
.../server_groups/servers/tests/test_server_get.py |  22 +-
.../server_groups/servers/tests/test_server_put.py |  27 +-
.../browser/server_groups/servers/tests/utils.py   | 160 +++++++++++
.../browser/server_groups/tests/test_sg_get.py     |   2 +-
web/pgadmin/browser/tests/test_change_password.py  | 102 ++++---
web/pgadmin/browser/tests/test_login.py            |  24 +-
web/pgadmin/browser/tests/test_logout.py           |   8 +-
web/pgadmin/browser/tests/test_reset_password.py   |  12 +-
web/pgadmin/browser/tests/utils.py                 |  21 ++
web/pgadmin/utils/route.py                         |   5 +-
web/regression/README                              |  39 +--
web/regression/test_advanced_config.json.in        | 172 ++++--------
web/regression/test_config.json.in                 |  48 ++--
web/regression/test_setup.py                       |  22 +-
web/regression/test_utils.py                       | 302 ++-------------------
34 files changed, 1689 insertions(+), 629 deletions(-)