public inbox for [email protected]  
help / color / mirror / Atom feed
From: Dave Page <[email protected]>
To: [email protected]
Subject: pgAdmin 4 commit: Test suite improvements:
Date: Wed, 27 Jul 2016 14:33:40 +0000
Message-ID: <[email protected]> (raw)
List-Unsubscribe:  <mailto:[email protected]?body=unsub%20pgadmin-hackers>

Test suite improvements:

- Test framework support API testing with multiple server for this we need to modify test_config.json(for user it’s test_config.json.in) and test_advanced_config.json(for user it’s test_advanced_config.json.in). Server details of PG and  PPAS are included in both .in files.

- Removed the logic of logging in  the test client on each test scenario(As per Khushboo's comment in previous email).  We need this logic in test cases under ‘browser/tests/’ as for test scenarios like change password and  invalid login test cases as test client should be logged out first. So, as per this the code is slightly modified in ‘browser/tests/’.

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=5c3c543d2ef9acb120cc7c6891eab58a9969b...
Author: Navnath Gadakh <[email protected]>

Modified Files
--------------
.../servers/databases/tests/test_db_add.py         |  17 +--
.../servers/databases/tests/test_db_delete.py      |  26 ++--
.../servers/databases/tests/test_db_get.py         |  29 ++---
.../servers/databases/tests/test_db_put.py         |  43 +++----
.../server_groups/servers/tests/__init__.py        |   2 +-
.../server_groups/servers/tests/test_server_add.py |  14 +--
.../servers/tests/test_server_delete.py            |   8 +-
.../server_groups/servers/tests/test_server_get.py |  10 +-
.../server_groups/servers/tests/test_server_put.py |  13 +-
.../browser/server_groups/tests/__init__.py        |   2 +-
.../browser/server_groups/tests/test_sg_get.py     |  14 ---
web/pgadmin/browser/tests/__init__.py              |   2 +-
web/pgadmin/browser/tests/test_change_password.py  |  21 +---
web/pgadmin/browser/tests/test_login.py            |  22 ++--
web/pgadmin/browser/tests/test_logout.py           |  14 ++-
web/pgadmin/browser/tests/test_reset_password.py   |  20 +--
web/pgadmin/utils/route.py                         |  24 +++-
web/regression/runtests.py                         |  15 ++-
web/regression/test_advanced_config.json.in        |  96 ++++++++++++++-
web/regression/test_config.json.in                 |  12 +-
web/regression/test_utils.py                       | 134 ++++++++++++---------
21 files changed, 306 insertions(+), 232 deletions(-)


-- 
Sent via pgadmin-hackers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers


reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected]
  Subject: Re: pgAdmin 4 commit: Test suite improvements:
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox