Re: pgAdmin IV : Unittest modular patch

From: Navnath Gadakh <navnath(dot)gadakh(at)enterprisedb(dot)com>
To: Dave Page <dave(dot)page(at)enterprisedb(dot)com>
Cc: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>, Kanchan Mohitey <kanchan(dot)mohitey(at)enterprisedb(dot)com>
Subject: Re: pgAdmin IV : Unittest modular patch
Date: 2016-07-22 13:22:59
Message-ID: CAOAJCYpY=u4T38s+XqQDOky10e7A_Wb_q9bbiwhx_=eF-6i-dQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Hi Dave,

Please find the attached patch for pgAdmin4 unittest(Support of API
testing with different servers i.e. PG and PPAS).

*This patch includes-*

1.

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.
2.

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/’.

Attachment Content-Type Size
pgadmin_unittest_multiple_server.patch text/x-patch 39.8 KB

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2016-07-22 13:40:21 pgAdmin 4 commit: Tag REL-1_0-BETA3 has been created.
Previous Message Harshal Dhumal 2016-07-22 09:26:35 Re: patch for RM1460 [pgAdmin4]