<?xml version="1.0" encoding="UTF-8"?><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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments for Erlang, Testing and TDD</title>
	<atom:link href="http://erlcode.wordpress.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://erlcode.wordpress.com</link>
	<description>Dr Coverage says: &#34;80% a day, keeps the bugs away&#34;</description>
	<lastBuildDate>Wed, 02 May 2012 20:02:48 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>Comment on &#8220;Weekly&#8221; exercise problems on GitHub by htaubert</title>
		<link>http://erlcode.wordpress.com/2012/04/01/weekly-exercise-problems-on-github/#comment-73</link>
		<dc:creator><![CDATA[htaubert]]></dc:creator>
		<pubDate>Wed, 02 May 2012 20:02:48 +0000</pubDate>
		<guid isPermaLink="false">http://erlcode.wordpress.com/?p=699#comment-73</guid>
		<description><![CDATA[Hi Gianfranco,

You could also take a look at the cyber-dojo (www.cyber-dojo.com) project by Jon Jagger, which has a rather large selection of languages , including Erlang, built into the framework. Jon is also happy to take in new ideas for excercises, especially if they are language-agnostic.

A great idea nontheless!

--
Henrik]]></description>
		<content:encoded><![CDATA[<p>Hi Gianfranco,</p>
<p>You could also take a look at the cyber-dojo (www.cyber-dojo.com) project by Jon Jagger, which has a rather large selection of languages , including Erlang, built into the framework. Jon is also happy to take in new ideas for excercises, especially if they are language-agnostic.</p>
<p>A great idea nontheless!</p>
<p>&#8211;<br />
Henrik</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Erlang EUnit – continuation 1 – Fixtures by Zedric-Bixler</title>
		<link>http://erlcode.wordpress.com/2010/08/30/erlang-eunit-continuation-1-fixtures/#comment-70</link>
		<dc:creator><![CDATA[Zedric-Bixler]]></dc:creator>
		<pubDate>Fri, 20 Jan 2012 20:44:13 +0000</pubDate>
		<guid isPermaLink="false">http://erlcode.wordpress.com/?p=9#comment-70</guid>
		<description><![CDATA[should be better explained, there are confusing parts]]></description>
		<content:encoded><![CDATA[<p>should be better explained, there are confusing parts</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on EUnit – Spawn on Node – Missing Name Problem by gianfrancoalongi</title>
		<link>http://erlcode.wordpress.com/2010/09/01/eunit-spawn-on-node-missing-name-problem/#comment-69</link>
		<dc:creator><![CDATA[gianfrancoalongi]]></dc:creator>
		<pubDate>Tue, 17 Jan 2012 19:56:25 +0000</pubDate>
		<guid isPermaLink="false">http://erlcode.wordpress.com/?p=30#comment-69</guid>
		<description><![CDATA[Nice that you find this helpful.
Actually I would not recommend using {node,NodeName,Tests} for this.

If you really need to test on multiple nodes, give Common Test a try.
CT is very well developed for large scale testing.
In the CT users guide you will find this http://www.erlang.org/doc/apps/common_test/ct_master_chapter.html#id74970

I was just showing that there is a possibility to do it, but alas, 
you can also write a webserver in pure Assembly - but I would advice against
doing so.]]></description>
		<content:encoded><![CDATA[<p>Nice that you find this helpful.<br />
Actually I would not recommend using {node,NodeName,Tests} for this.</p>
<p>If you really need to test on multiple nodes, give Common Test a try.<br />
CT is very well developed for large scale testing.<br />
In the CT users guide you will find this <a href="http://www.erlang.org/doc/apps/common_test/ct_master_chapter.html#id74970" rel="nofollow">http://www.erlang.org/doc/apps/common_test/ct_master_chapter.html#id74970</a></p>
<p>I was just showing that there is a possibility to do it, but alas,<br />
you can also write a webserver in pure Assembly &#8211; but I would advice against<br />
doing so.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on EUnit – Spawn on Node – Missing Name Problem by Pedro</title>
		<link>http://erlcode.wordpress.com/2010/09/01/eunit-spawn-on-node-missing-name-problem/#comment-68</link>
		<dc:creator><![CDATA[Pedro]]></dc:creator>
		<pubDate>Mon, 09 Jan 2012 13:06:24 +0000</pubDate>
		<guid isPermaLink="false">http://erlcode.wordpress.com/?p=30#comment-68</guid>
		<description><![CDATA[I found your posts really useful and easy to understand, thanks for them!

I have a question about this problem, though: How can I start testing in different nodes without having to manually start them and load the code? Or better yet, how do I use the {node, NodeName, Tests} fixture?

Thanks!]]></description>
		<content:encoded><![CDATA[<p>I found your posts really useful and easy to understand, thanks for them!</p>
<p>I have a question about this problem, though: How can I start testing in different nodes without having to manually start them and load the code? Or better yet, how do I use the {node, NodeName, Tests} fixture?</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Erlang EUnit – continuation 2 – Test Representation by gianfrancoalongi</title>
		<link>http://erlcode.wordpress.com/2010/08/30/erlang-eunit-continuation-2-test-representation/#comment-63</link>
		<dc:creator><![CDATA[gianfrancoalongi]]></dc:creator>
		<pubDate>Tue, 20 Dec 2011 18:41:13 +0000</pubDate>
		<guid isPermaLink="false">http://erlcode.wordpress.com/?p=17#comment-63</guid>
		<description><![CDATA[Finally got the time in my heart to update this - made it shorter and simpler as well.]]></description>
		<content:encoded><![CDATA[<p>Finally got the time in my heart to update this &#8211; made it shorter and simpler as well.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Erlang EUnit – introduction by Cody Rioux</title>
		<link>http://erlcode.wordpress.com/2010/08/30/erlang-eunit-introduction/#comment-62</link>
		<dc:creator><![CDATA[Cody Rioux]]></dc:creator>
		<pubDate>Sat, 12 Nov 2011 18:41:19 +0000</pubDate>
		<guid isPermaLink="false">http://erlcode.wordpress.com/?p=4#comment-62</guid>
		<description><![CDATA[Thanks for the quick intro! I&#039;m just getting started with Erlang and I think baking in some TDD skills from the start might really help me out.]]></description>
		<content:encoded><![CDATA[<p>Thanks for the quick intro! I&#8217;m just getting started with Erlang and I think baking in some TDD skills from the start might really help me out.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Erlang TDD hand on project &#8211; WorkerNet part 8 by itamoeba</title>
		<link>http://erlcode.wordpress.com/2011/03/05/erlang-tdd-hand-on-project-workernet-part-8/#comment-60</link>
		<dc:creator><![CDATA[itamoeba]]></dc:creator>
		<pubDate>Tue, 11 Oct 2011 07:41:27 +0000</pubDate>
		<guid isPermaLink="false">http://erlcode.wordpress.com/?p=685#comment-60</guid>
		<description><![CDATA[Just wanted to say thanks for this.  I&#039;ve started converting an application written in Python / PYRO to Erlang and I&#039;m sure your blog will speed up the process, it&#039;s great to see a worked TDD based example as a reference point.

All the best

Steve]]></description>
		<content:encoded><![CDATA[<p>Just wanted to say thanks for this.  I&#8217;ve started converting an application written in Python / PYRO to Erlang and I&#8217;m sure your blog will speed up the process, it&#8217;s great to see a worked TDD based example as a reference point.</p>
<p>All the best</p>
<p>Steve</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Erlang TDD hands on project &#8211; WorkerNet part 1 by Dimitry</title>
		<link>http://erlcode.wordpress.com/2010/12/17/erlang-tdd-hands-on-project-workernet-part-1/#comment-59</link>
		<dc:creator><![CDATA[Dimitry]]></dc:creator>
		<pubDate>Tue, 14 Jun 2011 16:01:22 +0000</pubDate>
		<guid isPermaLink="false">http://erlcode.wordpress.com/?p=375#comment-59</guid>
		<description><![CDATA[That&#039;s really helpfull erlang blog) Especially I like eunit part)]]></description>
		<content:encoded><![CDATA[<p>That&#8217;s really helpfull erlang blog) Especially I like eunit part)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Erlang EUnit – continuation 2 – Test Representation by gianfrancoalongi</title>
		<link>http://erlcode.wordpress.com/2010/08/30/erlang-eunit-continuation-2-test-representation/#comment-58</link>
		<dc:creator><![CDATA[gianfrancoalongi]]></dc:creator>
		<pubDate>Mon, 04 Apr 2011 19:30:50 +0000</pubDate>
		<guid isPermaLink="false">http://erlcode.wordpress.com/?p=17#comment-58</guid>
		<description><![CDATA[Per, you are absolutely right!
This shows not only how &quot;tricky&quot; EUnit can be - but also &lt;em&gt; why it&#039;s so important to always start with a failing test! &lt;/em&gt; (Something the author of this post did not - ahem) .]]></description>
		<content:encoded><![CDATA[<p>Per, you are absolutely right!<br />
This shows not only how &#8220;tricky&#8221; EUnit can be &#8211; but also <em> why it&#8217;s so important to always start with a failing test! </em> (Something the author of this post did not &#8211; ahem) .</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Erlang EUnit – continuation 2 – Test Representation by Per Melin</title>
		<link>http://erlcode.wordpress.com/2010/08/30/erlang-eunit-continuation-2-test-representation/#comment-57</link>
		<dc:creator><![CDATA[Per Melin]]></dc:creator>
		<pubDate>Sun, 03 Apr 2011 14:23:34 +0000</pubDate>
		<guid isPermaLink="false">http://erlcode.wordpress.com/?p=17#comment-57</guid>
		<description><![CDATA[I&#039;m afraid there&#039;s a bug in several of the tests.

Try changing tupleSTO4/0 so that it should fail. For example:
&lt;code&gt;
tupleSTO4() -&gt; ?_test( fun() -&gt; ?assertEqual(1,2) end ).
&lt;/code&gt;

Run the tests and you&#039;ll notice that it still passes!

?_test returns its argument wrapped in a fun. So when you give it a fun to start with you get a fun that returns a fun, which is the same thing as a test object that can never fail.

Now break nullarySTO1 in the same way so that it fails and you&#039;ll see that the other tests that should call it – nullarySTO2, nullarySTO3, tupleSTO1, tupleSTO2, tupleSTO3, tupleSTO6 and tupleSTO7 – all still pass. It is pretty much the same problem here; a test generator can return one or more funs, but you return funs that return funs, and that is one level too deep.]]></description>
		<content:encoded><![CDATA[<p>I&#8217;m afraid there&#8217;s a bug in several of the tests.</p>
<p>Try changing tupleSTO4/0 so that it should fail. For example:<br />
<code><br />
tupleSTO4() -&gt; ?_test( fun() -&gt; ?assertEqual(1,2) end ).<br />
</code></p>
<p>Run the tests and you&#8217;ll notice that it still passes!</p>
<p>?_test returns its argument wrapped in a fun. So when you give it a fun to start with you get a fun that returns a fun, which is the same thing as a test object that can never fail.</p>
<p>Now break nullarySTO1 in the same way so that it fails and you&#8217;ll see that the other tests that should call it – nullarySTO2, nullarySTO3, tupleSTO1, tupleSTO2, tupleSTO3, tupleSTO6 and tupleSTO7 – all still pass. It is pretty much the same problem here; a test generator can return one or more funs, but you return funs that return funs, and that is one level too deep.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
