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


Groups > comp.lang.python > #19908

Re: Python and TAP

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!ecngs!feeder2.ecngs.de!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.001
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'subject:Python': 0.05; 'does.': 0.07; 'framework.': 0.07; 'received:verizon.net': 0.07; 'terry': 0.07; 'unittest': 0.07; 'python': 0.08; 'presume': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'output': 0.10; 'am,': 0.12; 'converting': 0.15; 'harness,': 0.16; 'missing?': 0.16; 'podcast': 0.16; 'reedy': 0.16; 'unittests': 0.16; 'wrote:': 0.18; 'alternate': 0.18; 'perl': 0.18; 'jan': 0.19; 'seems': 0.20; 'header:In-Reply-To:1': 0.22; '(or': 0.22; 'versions': 0.23; 'joining': 0.23; 'format,': 0.24; "python's": 0.24; 'obviously': 0.25; 'tests': 0.25; 'compatible': 0.26; 'module': 0.26; 'testing': 0.26; 'otherwise.': 0.28; "skip:' 10": 0.29; 'url:)': 0.29; 'nobody': 0.31; "i've": 0.32; 'does': 0.32; 'modules': 0.32; 'there': 0.33; 'header:User-Agent:1': 0.33; 'test': 0.34; 'header:X-Complaints-To:1': 0.34; 'running': 0.34; 'someone': 0.34; 'to:addr:python-list': 0.35; 'something': 0.35; 'finished': 0.35; 'two': 0.36; 'received:org': 0.36; 'run': 0.37; 'but': 0.37; 'could': 0.38; 'useful': 0.38; 'url:org': 0.39; 'url:tv': 0.39; 'to:addr:python.org': 0.40; 'simple': 0.61; 'world': 0.61; 'url:p': 0.62; 'results': 0.64; 'frank': 0.64; 'url:a': 0.65; 'tap': 0.67; 'url:show': 0.67; 'strange': 0.68; 'care': 0.71; 'learned': 0.73; 'numerous': 0.73; 'standardized': 0.84; 'within)': 0.84
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Terry Reedy <tjreedy@udel.edu>
Subject Re: Python and TAP
Date Mon, 06 Feb 2012 15:51:54 -0500
References <jgn8e7$1r86$1@ns.felk.cvut.cz> <4F2FC677.7020606@alien8.de>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding quoted-printable
X-Gmane-NNTP-Posting-Host pool-74-109-121-73.phlapa.fios.verizon.net
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20111105 Thunderbird/8.0
In-Reply-To <4F2FC677.7020606@alien8.de>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.5485.1328561541.27778.python-list@python.org> (permalink)
Lines 42
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1328561541 news.xs4all.nl 6946 [2001:888:2000:d::a6]:32932
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:19908

Show key headers only | 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