[TIP] TAP vs subunit

Matěj Cepl mcepl at cepl.eu
Mon May 16 01:49:32 PDT 2016


On 2016-05-16, 02:05 GMT, Robert Collins wrote:
> TAP is/was a very good fit for Perl, but its really awkward 
> for most
> everything else - and AFAICT it hasn't really changed to fit the more
> object orientated approach possible in other languages. Consider e.g.
> https://github.com/remko/pycotap/blob/master/pycotap/__init__.py#L132
> which doesn't provide semantic information (that the error is an
> unexpected success) to TAP consumers.

I am the author of other TAP extension to unittest 
(https://pypi.python.org/pypi/bayeux/) but I have to say, I am 
rather uneasy about the whole protocol. YAML is just awkward and
any data besides just plain Boolean pass/fail seems to be tacked 
on the top just by the finest thread.

Matěj

-- 
https://matej.ceplovi.cz/blog/, Jabber: mcepl at ceplovi.cz
GPG Finger: 3C76 A027 CA45 AD70 98B5  BC1D 7920 5802 880B C9D8
 
Create like it's 1790.
  -- Lawrence Lessig




More information about the testing-in-python mailing list