Re: [pgadmin4][Patch]: Support for create multiple test classes in one test file

From: Joao De Almeida Pereira <jdealmeidapereira(at)pivotal(dot)io>
To: Akshay Joshi <akshay(dot)joshi(at)enterprisedb(dot)com>
Cc: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: [pgadmin4][Patch]: Support for create multiple test classes in one test file
Date: 2018-06-12 13:42:51
Message-ID: CAE+jjan2p0gtzmb-uJ-YUvu=nvrjAkUQ4TZxv9hQ3fpQOPzkjA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Hello Hackers,
Instead of doing this change and include more test harnessing to the setup
we have, do you think we can try to push to get pytest into the code base
and all these features will come by default?

Thanks
Joao

On Tue, Jun 12, 2018 at 9:30 AM Akshay Joshi <akshay(dot)joshi(at)enterprisedb(dot)com>
wrote:

> Hi Hackers,
>
> Attached is the patch to create multiple test classes in one test file.
>
> For example: I have one test file *test_feature.py *where I wrote
> multiple test classes
> class TestX(BaseTestGenerator):
> class TestY(BaseTestGenerator):
> class TestZ(BaseTestGenerator):
>
> So with current implementation it will run the test cases for *TestZ*
> class.
>
> --
> *Akshay Joshi*
>
> *Sr. Software Architect *
>
>
>
> *Phone: +91 20-3058-9517Mobile: +91 976-788-8246*
>

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Victoria Henry 2018-06-12 14:41:42 Re: [pgadmin4][patch] Use pytest test runner for unit tests
Previous Message Akshay Joshi 2018-06-12 13:30:39 [pgadmin4][Patch]: Support for create multiple test classes in one test file