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

2018-06-13 Thread Dave Page
On Tue, Jun 12, 2018 at 2:42 PM, Joao De Almeida Pereira <
jdealmeidapere...@pivotal.io> wrote:

> 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?
>
Agreed.



> Thanks
> Joao
> ​
>
> On Tue, Jun 12, 2018 at 9:30 AM Akshay Joshi <
> akshay.jo...@enterprisedb.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*
>>
>


-- 
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


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

2018-06-12 Thread Joao De Almeida Pereira
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 
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*
>


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

2018-06-12 Thread Akshay Joshi
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*


multiple_class_support.patch
Description: Binary data