<?xml version="1.0" encoding="ISO-8859-1"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
> <channel><title>Comments for Bruno P. Kinoshita</title> <atom:link href="http://www.kinoshita.eti.br/comments/feed/" rel="self" type="application/rss+xml" /><link>http://www.kinoshita.eti.br</link> <description>A paulistano geek website</description> <lastBuildDate>Fri, 09 Dec 2011 08:08:46 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>Comment on New version of CCM Hudson Plugin released by Latest Softwares Review and Download</title><link>http://www.kinoshita.eti.br/2010/09/28/new-version-of-ccm-hudson-plugin-released/#comment-7716</link> <dc:creator>Latest Softwares Review and Download</dc:creator> <pubDate>Fri, 09 Dec 2011 08:08:46 +0000</pubDate> <guid
isPermaLink="false">http://www.kinoshita.eti.br/?p=454#comment-7716</guid> <description>&lt;strong&gt;Softwares Reviews and Downloads...&lt;/strong&gt;
I found your entry interesting do I&#039;ve added a Trackback to it on my weblog :)......</description> <content:encoded><![CDATA[<p><strong>Softwares Reviews and Downloads&#8230;</strong></p><p>I found your entry interesting do I&#8217;ve added a Trackback to it on my weblog <img
src='http://www.kinoshita.eti.br/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> &#8230;&#8230;</p> ]]></content:encoded> </item> <item><title>Comment on A comparison of TAP (Test Anything Protocol) and SubUnit by Bruno Kinoshita</title><link>http://www.kinoshita.eti.br/2011/06/04/a-comparison-of-tap-test-anything-protocol-and-subunit/#comment-7571</link> <dc:creator>Bruno Kinoshita</dc:creator> <pubDate>Wed, 12 Oct 2011 04:09:06 +0000</pubDate> <guid
isPermaLink="false">http://www.kinoshita.eti.br/?p=654#comment-7571</guid> <description>Hi Renormalist!
Sorry for taking so long to reply, I&#039;ve been updating testlink-plugin (which also uses/supports TAP :) documentation.
I went with TAP. I thought about implementing an abstraction layer and adding support to both test protocols. However as SubUnit has no current port for Java, it was too hard to accomplish. Check the result here: https://wiki.jenkins-ci.org/display/JENKINS/TAP+Plugin.
I created a sample project in github (https://github.com/kinow/nose_and_subunit). If you execute in the src folder &#039;nosetests --with-subunit&#039; having the modules nose, subunit and nose-subunit, then you will have an SubUnit output containing the the following:
&lt;pre&gt;time: 2011-10-12 04:12:50.431871Z
test: test_me.test_b
failure: test_me.test_b [
Traceback (most recent call last):
File &quot;/usr/local/lib/python2.7/dist-packages/nose-1.1.2-py2.7.egg/nose/case.py&quot;, line 197, in runTest
self.test(*self.arg)
File &quot;/home/kinow/python/workspace/nose_and_subunit/src/test_me.py&quot;, line 4, in test_b
assert a[0] == &#039;c&#039;
AssertionError
]
time: 2011-10-12 04:12:50.433577Z
&lt;/pre&gt;
This was the closest that I could get to testing your hypothesis. Nose and nose-subunit control how the SubUnit stream is generated, thus I&#039;m not able to put a &#039;[&#039; as first character in a line, at least I think so :)
I&#039;m very happy that you liked the comparison, I looked for something similar on Internet and thought it was a shame when I found nothing.
I will add the part about diagnostics with &#039;#&#039; to the post, hope you don&#039;t mind. Thanks for the heads up!
in tap4j each comment belongs to the entity on its left. So a line with a comment will be just a loose comment :) Perhaps a future feature in tap4j.
Thanks for your comment!</description> <content:encoded><![CDATA[<p>Hi Renormalist!</p><p>Sorry for taking so long to reply, I&#8217;ve been updating testlink-plugin (which also uses/supports TAP <img
src='http://www.kinoshita.eti.br/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> documentation.</p><p>I went with TAP. I thought about implementing an abstraction layer and adding support to both test protocols. However as SubUnit has no current port for Java, it was too hard to accomplish. Check the result here: <a
href="https://wiki.jenkins-ci.org/display/JENKINS/TAP+Plugin" rel="nofollow">https://wiki.jenkins-ci.org/display/JENKINS/TAP+Plugin</a>.</p><p>I created a sample project in github (<a
href="https://github.com/kinow/nose_and_subunit" rel="nofollow">https://github.com/kinow/nose_and_subunit</a>). If you execute in the src folder &#8216;nosetests &#8211;with-subunit&#8217; having the modules nose, subunit and nose-subunit, then you will have an SubUnit output containing the the following:</p><pre>time: 2011-10-12 04:12:50.431871Z
test: test_me.test_b
failure: test_me.test_b [
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/nose-1.1.2-py2.7.egg/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/home/kinow/python/workspace/nose_and_subunit/src/test_me.py", line 4, in test_b
    assert a[0] == 'c'
AssertionError
]
time: 2011-10-12 04:12:50.433577Z
</pre><p>This was the closest that I could get to testing your hypothesis. Nose and nose-subunit control how the SubUnit stream is generated, thus I&#8217;m not able to put a &#8216;[&#8216; as first character in a line, at least I think so <img
src='http://www.kinoshita.eti.br/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p><p>I&#8217;m very happy that you liked the comparison, I looked for something similar on Internet and thought it was a shame when I found nothing.</p><p>I will add the part about diagnostics with &#8216;#&#8217; to the post, hope you don&#8217;t mind. Thanks for the heads up!</p><p>in tap4j each comment belongs to the entity on its left. So a line with a comment will be just a loose comment <img
src='http://www.kinoshita.eti.br/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> Perhaps a future feature in tap4j.</p><p>Thanks for your comment!</p> ]]></content:encoded> </item> <item><title>Comment on A comparison of TAP (Test Anything Protocol) and SubUnit by renormalist</title><link>http://www.kinoshita.eti.br/2011/06/04/a-comparison-of-tap-test-anything-protocol-and-subunit/#comment-7565</link> <dc:creator>renormalist</dc:creator> <pubDate>Fri, 07 Oct 2011 09:56:16 +0000</pubDate> <guid
isPermaLink="false">http://www.kinoshita.eti.br/?p=654#comment-7565</guid> <description>What&#039;s the status of that?
Did you go with TAP or SubUnit?
Your comparison table together with
the examples is very helpful. Thanks.
What does syntactically happen in the SubUnit example when the Traceback example message itself would contain a closing bracket as first character of a line? How is that unbalanced bracket nesting parsed?
To complement the TAP example with similar diagnistics you can use comment lines, starting with &#039;#&#039;, e.g.:
1..2
ok - foo
ok - bar
# Traceback (most recent call last):
# File &quot;/src/my_test.py&quot;, line 11,
# in runTest self.assertEqual [...
# ] &lt;-- some lonely bracket
# AssertionError: Wrong length
In TAP consumers like TAP::DOM
comment lines sematically belong to the
respective ok line just before it. However,
it&#039;s not strictly a semantical standard.
Ok, that just my 2 cents.
Thanks again for the comparison of TAP vs. SubUnit.
Renormalist</description> <content:encoded><![CDATA[<p>What&#8217;s the status of that?<br
/> Did you go with TAP or SubUnit?</p><p>Your comparison table together with<br
/> the examples is very helpful. Thanks.</p><p>What does syntactically happen in the SubUnit example when the Traceback example message itself would contain a closing bracket as first character of a line? How is that unbalanced bracket nesting parsed?</p><p>To complement the TAP example with similar diagnistics you can use comment lines, starting with &#8216;#&#8217;, e.g.:</p><p> 1..2<br
/> ok &#8211; foo<br
/> ok &#8211; bar<br
/> # Traceback (most recent call last):<br
/> # File &#8220;/src/my_test.py&#8221;, line 11,<br
/> # in runTest self.assertEqual [...<br
/> # ] &lt;&#8211; some lonely bracket<br
/> # AssertionError: Wrong length</p><p>In TAP consumers like TAP::DOM<br
/> comment lines sematically belong to the<br
/> respective ok line just before it. However,<br
/> it&#039;s not strictly a semantical standard.</p><p>Ok, that just my 2 cents.</p><p>Thanks again for the comparison of TAP vs. SubUnit.</p><p>Renormalist</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: basic
Object Caching 248/252 objects using disk: basic

Served from: www.kinoshita.eti.br @ 2012-02-08 16:05:19 -->
