[TIP] nose/py.test plugins (was Re: Coverage.py 3.2b1: Branch coverage])

Victoria G. Laidler laidler at stsci.edu
Wed Nov 11 11:02:27 PST 2009


holger krekel wrote:
> Hi Vicky, Ned, Jason, 
>
> On Wed, Nov 11, 2009 at 12:51 -0500, Victoria G. Laidler wrote:
>   
>> Hi Holger and Jason,
>>
>> Is there a write-up anywhere yet that has instructions for plugin  
>> authors who want to make their plugins compatible with both test systems?
>> Or maybe two simple-minded writeups, one to convert an existing nose  
>> plugin to support py.test, and the other for vice-versa?
>>     
>
> no write-ups i know off.  
>
> My impression is that people like to work from real-life examples.  
>   
Uh, just for the record, I loathe working from examples instead of from 
actual documentation. *My* impression is that people don't like to write 
actual documentation! ;) and thus point people at code instead.


> Let's open a coverage-fork on bitbucket and give all
> interested people write-access there ... (Ned, if you do it,
> my username is 'hpk42' there). 
>
>   
I was less interested in the immediate coverage plugin and more 
interested in helping everybody write future plugins that could work 
with both systems. I have a Pandokia plugin for nose that I'd be glad to 
make work with py.test, if I had some decent instructions. But I'm not 
interested in reverse-engineering some other random plugin in order to 
figure out what to do to mine.

Vicki

>
>   
>> jason pellerin wrote:
>>     
>>> On Wed, Nov 11, 2009 at 11:53 AM, Ned Batchelder <ned at nedbatchelder.com> wrote:
>>>   
>>>       
>>>> holger krekel wrote:
>>>>     
>>>>         
>>>>> Hi Ned, Vicky, all,
>>>>>
>>>>> what about a plugin that works on both nose and pytest?
>>>>> Rozza has done a coverage plugin for pytest here.
>>>>> http://github.com/rozza/py.test-plugins/blob/master/pytest_coverage.py
>>>>> and i am happy to help to work on a joint one.  If i see it correctly it
>>>>> shouldn't be hard to make a single source & setup for a nose/py.test plugin.
>>>>>
>>>>>       
>>>>>           
>>>> This seems like a great idea...
>>>>     
>>>>         
>>> Yes!
>>>
>>> JP
>>>
>>> _______________________________________________
>>> testing-in-python mailing list
>>> testing-in-python at lists.idyll.org
>>> http://lists.idyll.org/listinfo/testing-in-python
>>>   
>>>       
>> _______________________________________________
>> testing-in-python mailing list
>> testing-in-python at lists.idyll.org
>> http://lists.idyll.org/listinfo/testing-in-python
>>
>>     
>
>   



More information about the testing-in-python mailing list