Taskbot: TAP vs Subunit

Nick Coghlan ncoghlan at redhat.com
Fri Nov 1 07:36:02 UTC 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 11/01/2013 04:50 PM, Tim Flink wrote:
>> I can't really argue with xUnit's success as a unit testing
>> paradigm but I'm not crazy about getting too locked into that
>> right now. One of the goals that I have for taskbot is to make it
>> flexible enough to be able to do stuff that isn't traditionally
>> in the domain of a test system. However, I'm not quite crazy
>> enough to try being everything to everyone so that goal may not
>> end up feasible.

I think we're probably stuck with xUnit as the core interoperability
format for *finished* tasks (e.g. I know there are various XSLT
scripts kicking around to transform Beaker's result XML to standard
xUnit format). However, it simply doesn't work for streaming due to
the requirement to state the number of results up front.

I also realised that the YAML support in TAP likely gives you the
ability to embed whatever you want if you discover the need, so it may
make sense to start with the simpler format and make use of that
embedded capability to transport other things.

Cheers,
Nick.

- -- 
Nick Coghlan
Red Hat Infrastructure Engineering & Development, Brisbane

Testing Solutions Team Lead
Beaker Development Lead (http://beaker-project.org/)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.14 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJSc1niAAoJEHEkJo9fMO/LRJwH/1MQa4uy+ZfS6KBZfvC3mbje
uawTMl8VBiE9lQJDZJ68eQSM/58jmWqvBzwCMaO/EoLR++jdNWDC5sqIhYqUSVo2
NjKYmZjWY3ywfBm5ZM5hlca/cbTLjsSlo9tWIhJJdo3j33PxdC8dviOpIEPp1JdO
WsVJSoyLFjhPdfDeiW+COJV1QHzSvDOc4IGdmEcHdH0OJxKlTLUgDvfGYB7TaA/D
HwJUHVBxH5HHc7HOYNCqycs56uy+PbCCmxa1vQ52JrO48NjJB8MzBXDbjP/GWNTv
ZPk+jvqi3tPP9jfBMMl3G3tvBN+buoOKgLV9Wi23Dh/hQ0QD8WIFI5sLQlxh91c=
=1Ydp
-----END PGP SIGNATURE-----


More information about the qa-devel mailing list