Re: [pgAdmin][RM5048] : code coverage tool

From: Akshay Joshi <akshay(dot)joshi(at)enterprisedb(dot)com>
To: navnath gadakh <navnathgadakh(at)gmail(dot)com>
Cc: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: [pgAdmin][RM5048] : code coverage tool
Date: 2020-01-03 13:31:27
Message-ID: CANxoLDfkoENR317ze3Azp89DQca_944HQyGbinq5jFNqWR9cTg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Thanks, patch applied.

On Fri, Jan 3, 2020 at 1:38 PM navnath gadakh <navnathgadakh(at)gmail(dot)com>
wrote:

> Hi Team,
> Please find the attached patch to calculate code coverage if pgadmin
> code(python tests).
> I have extended the existing testsuite to enable coverage. I have used
> python's coverage module.
>
> *Some useful commands: *
>
> before running the commands make sure you create .coveragerc file under
> /regression directory(details mentioned in README)
> Run coverage
>
> With all modules
> run 'python runtests.py --coverage --exclude feature_tests'
> With specific module
> run 'python runtests.py --pkg browser.server_groups.servers.tests --coverage'
>
> Thanks!
> --
> *Regards,*
> *Navnath Gadakh*
>

--
*Thanks & Regards*
*Akshay Joshi*

*Sr. Software Architect*
*EnterpriseDB Software India Private Limited*
*Mobile: +91 976-788-8246*

In response to

Browse pgadmin-hackers by date

  From Date Subject
Next Message Akshay Joshi 2020-01-03 13:34:19 pgAdmin 4 commit: Update message catalogs.
Previous Message Akshay Joshi 2020-01-03 13:30:59 pgAdmin 4 commit: Added code coverage tool for pgAdmin. Fixes #5048.