Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #19908

Re: Python and TAP

From Terry Reedy <tjreedy@udel.edu>
Subject Re: Python and TAP
Date 2012-02-06 15:51 -0500
References <jgn8e7$1r86$1@ns.felk.cvut.cz> <4F2FC677.7020606@alien8.de>
Newsgroups comp.lang.python
Message-ID <mailman.5485.1328561541.27778.python-list@python.org> (permalink)

Show all headers | View raw


On 2/6/2012 7:24 AM, Frank Becker wrote:
> On 06.02.12 01:58, Matej Cepl wrote:

>> I have just finished listening to the FLOSS Weekly podcast #200
>> (http://twit.tv/show/floss-weekly/200) on autotest, where I've learned
>> about the existence of TAP (http://testanything.org/). A standardization
>> of testing seems to be so obviously The Right Thing™, that it is strange
>> that I don't see much related movement in the Python world (I know only

TAP is not about 'standardization of testing' but standardized 
communication of test results between test modules and test harness. 
Python's two stdlib test packages include both test-writing methods and 
a test harness. They are compatible in the sense that doctests can be 
run within the unittest framework.

>> about http://git.codesimply.com/?p=PyTAP.git;a=summary or
>> git://git.codesimply.com/PyTAP.git, which seems to be very very simple
>> and only producer).

I presume PyTAP does something like converting (or rather, wrapping) 
output from unittests to (or rather, within) the TAP format, which 
includes wrapping in YAMLish. Or it provides alternate versions of the 
numerous AssertXxx functions in unittest. This is useful for someone 
running Python tests within a TAP harness, but not otherwise.

>> What am I missing? Why nobody seems to care about joining TAP standard?

The 'TAP standard' is what the Perl TAP module does. There is a 
pre-draft for an IETF standard. You could ask why Perl people don't care 
about joining the unittest 'standard'.

-- 
Terry Jan Reedy

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Python and TAP Matej Cepl <mcepl@redhat.com> - 2012-02-06 01:58 +0100
  Re: Python and TAP Frank Becker <fb@alien8.de> - 2012-02-06 13:24 +0100
  Re: Python and TAP Terry Reedy <tjreedy@udel.edu> - 2012-02-06 15:51 -0500
    Re: Python and TAP Matej Cepl <mcepl@redhat.com> - 2012-02-06 23:03 +0100
      Re: Python and TAP alex23 <wuwei23@gmail.com> - 2012-02-06 19:21 -0800
  Re: Python and TAP alex23 <wuwei23@gmail.com> - 2012-02-06 19:24 -0800
    Re: Python and TAP Matej Cepl <mcepl@redhat.com> - 2012-02-07 09:21 +0100

csiph-web