[TIP] TAP support for Python

Robert Collins robertc at robertcollins.net
Mon Mar 26 10:49:00 PDT 2012


On Tue, Mar 27, 2012 at 3:54 AM, Andrea Crotti
<andrea.crotti.0 at gmail.com> wrote:
> On 03/26/2012 03:39 PM, Matěj Cepl wrote:
>>
>> Hi,
>>
>> I am working on support for TAP protocol in Python. The current state of
>> the project is https://gitorious.org/bayeux/pytap (it requires my other
>> project http://pypi.python.org/pypi/yamlish). The focus of my effort is to
>> produce TAP stream, I am not that much interested in emulating TAP Perl API
>> (which I don't like that much anyway).
>>
>> Aside from an example tool for generating TAP stream from another JSON
>> file (which is the actual tool I need for my work), I have created also an
>> attempt to create a shell for unittest2.py to generate TAP stream instead of
>> whatever unittest produces.
>>
>> I would be very much interested in any kind of comments, code review,
>> objections, accussations, or pull requests :)
>>
>> Thanks,
>>
>> Matěj
>>
>
> I saw this from wikipedia http://git.codesimply.com/?p=PyTAP.git;a=summary
> it's not the same right?
>
> And how would be the consumer of this TAP stream?

Well, you could in principle consume it via tap2subunit, which will
bring it right back into Python again :P.

Matěj - you might like to look at subunit, which deals with a very
similar situation, just a different protocol.

-Rob



More information about the testing-in-python mailing list