Python and TAP

Frank Becker fb at alien8.de
Mon Feb 6 13:24:23 CET 2012


On 06.02.12 01:58, Matej Cepl wrote:

Hi,

> 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
> 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).
> 
> What am I missing? Why nobody seems to care about joining TAP standard?
Not sure. Probably it comes down to what you need depending on your tool
chain. But there are alternatives. Most prominent to my knowledge is
subunit [0]. Here is a comparison between the two [1].

One warning when you jump on the TAP train: Using the Python YAML
module PyYAML you will have to find out that TAP uses a YAML subset
called YAMLish [3]. It's not the same and pretty much defined by the
Perl implementation.

[0] https://launchpad.net/subunit
[1]
http://www.kinoshita.eti.br/2011/06/04/a-comparison-of-tap-test-anything-protocol-and-subunit/
[2] http://pyyaml.org/
[3] http://testanything.org/wiki/index.php/YAMLish

Bye,

	Frank


-- 
Frank Becker <fb at alien8.de> (jabber|mail) | http://twitter.com/41i3n8
GnuPG: 0xADC29ECD | F01B 5E9C 1D09 981B 5B40 50D3 C80F 7459 ADC2 9ECD

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 307 bytes
Desc: OpenPGP digital signature
URL: <http://mail.python.org/pipermail/python-list/attachments/20120206/3ccb56e3/attachment.sig>


More information about the Python-list mailing list