<?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/"
		>
<channel>
	<title>Comments on: Does unit-testing deserve its own DSL?</title>
	<atom:link href="http://www.hans-eric.com/2007/12/10/does-unit-testing-deserve-its-own-dsl/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.hans-eric.com/2007/12/10/does-unit-testing-deserve-its-own-dsl/</link>
	<description>Hans-Eric Grönlund on software development</description>
	<lastBuildDate>Thu, 29 Jul 2010 15:10:19 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Hans-Eric</title>
		<link>http://www.hans-eric.com/2007/12/10/does-unit-testing-deserve-its-own-dsl/comment-page-1/#comment-35412</link>
		<dc:creator>Hans-Eric</dc:creator>
		<pubDate>Wed, 02 Sep 2009 21:50:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.hans-eric.com/2007/12/10/does-unit-testing-deserve-its-own-dsl/#comment-35412</guid>
		<description>&lt;a href=&quot;#comment-35400&quot; rel=&quot;nofollow&quot;&gt;@Sohan &lt;/a&gt; 

Thanks for the tip, I&#039;ll look into Mocha. Ruby is it? My favorite dynamic language.</description>
		<content:encoded><![CDATA[<p><a href="#comment-35400" rel="nofollow">@Sohan </a> </p>
<p>Thanks for the tip, I&#8217;ll look into Mocha. Ruby is it? My favorite dynamic language.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sohan</title>
		<link>http://www.hans-eric.com/2007/12/10/does-unit-testing-deserve-its-own-dsl/comment-page-1/#comment-35400</link>
		<dc:creator>Sohan</dc:creator>
		<pubDate>Wed, 02 Sep 2009 16:23:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.hans-eric.com/2007/12/10/does-unit-testing-deserve-its-own-dsl/#comment-35400</guid>
		<description>If you take a look into mocha, you will see find what you were looking for in python. Mocha can mock anything as ruby is absolutely a dynamic language. So, this does not really require any DSL.

However, I gave a feeling that C#/other compiled languages still need a better way to fit in the easiest possible unit test writing.</description>
		<content:encoded><![CDATA[<p>If you take a look into mocha, you will see find what you were looking for in python. Mocha can mock anything as ruby is absolutely a dynamic language. So, this does not really require any DSL.</p>
<p>However, I gave a feeling that C#/other compiled languages still need a better way to fit in the easiest possible unit test writing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: schlenk</title>
		<link>http://www.hans-eric.com/2007/12/10/does-unit-testing-deserve-its-own-dsl/comment-page-1/#comment-1341</link>
		<dc:creator>schlenk</dc:creator>
		<pubDate>Tue, 11 Dec 2007 20:07:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.hans-eric.com/2007/12/10/does-unit-testing-deserve-its-own-dsl/#comment-1341</guid>
		<description>In very dynamic languages such DSLs can be done with not too much overhead.

tcltest for example is a little test DSL, but for the stuff you wanted one could use things like variable and execution traces and maybe coupled with the unknown handler. Just delete all commands from a slave interpreter other than [unknown] and inspect what gets called.

For some intro to Tcltest http://www.tclscripting.com/articles/apr06/article1.html</description>
		<content:encoded><![CDATA[<p>In very dynamic languages such DSLs can be done with not too much overhead.</p>
<p>tcltest for example is a little test DSL, but for the stuff you wanted one could use things like variable and execution traces and maybe coupled with the unknown handler. Just delete all commands from a slave interpreter other than [unknown] and inspect what gets called.</p>
<p>For some intro to Tcltest <a href="http://www.tclscripting.com/articles/apr06/article1.html" rel="nofollow">http://www.tclscripting.com/articles/apr06/article1.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martijn Faassen</title>
		<link>http://www.hans-eric.com/2007/12/10/does-unit-testing-deserve-its-own-dsl/comment-page-1/#comment-1339</link>
		<dc:creator>Martijn Faassen</dc:creator>
		<pubDate>Tue, 11 Dec 2007 19:21:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.hans-eric.com/2007/12/10/does-unit-testing-deserve-its-own-dsl/#comment-1339</guid>
		<description>I&#039;m not really much into mock objects, but indeed there are quite a few mock object libraries in Python that can do things like that.

http://labix.org/mocker

is a recent one that comes from a very good Python programmer. I should try it out with doctests one day. The examples in the mocker documentation are probably doctests already. :)</description>
		<content:encoded><![CDATA[<p>I&#8217;m not really much into mock objects, but indeed there are quite a few mock object libraries in Python that can do things like that.</p>
<p><a href="http://labix.org/mocker" rel="nofollow">http://labix.org/mocker</a></p>
<p>is a recent one that comes from a very good Python programmer. I should try it out with doctests one day. The examples in the mocker documentation are probably doctests already. <img src='http://www.hans-eric.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hans-Eric</title>
		<link>http://www.hans-eric.com/2007/12/10/does-unit-testing-deserve-its-own-dsl/comment-page-1/#comment-1338</link>
		<dc:creator>Hans-Eric</dc:creator>
		<pubDate>Tue, 11 Dec 2007 19:06:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.hans-eric.com/2007/12/10/does-unit-testing-deserve-its-own-dsl/#comment-1338</guid>
		<description>Good point! Probably that&#039;s the reason we don&#039;t see any unit-testing DSLs out there.
A thought: Shouldn&#039;t a reflective programming language like Python be able to implement a unit-testing framework with &quot;unconditional mocking&quot;, without the need to create a new language? The framework should be able to generate the mocking code and inject it in the source code during execution. Maybe this has already been done?</description>
		<content:encoded><![CDATA[<p>Good point! Probably that&#8217;s the reason we don&#8217;t see any unit-testing DSLs out there.<br />
A thought: Shouldn&#8217;t a reflective programming language like Python be able to implement a unit-testing framework with &#8220;unconditional mocking&#8221;, without the need to create a new language? The framework should be able to generate the mocking code and inject it in the source code during execution. Maybe this has already been done?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martijn Faassen</title>
		<link>http://www.hans-eric.com/2007/12/10/does-unit-testing-deserve-its-own-dsl/comment-page-1/#comment-1337</link>
		<dc:creator>Martijn Faassen</dc:creator>
		<pubDate>Tue, 11 Dec 2007 18:34:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.hans-eric.com/2007/12/10/does-unit-testing-deserve-its-own-dsl/#comment-1337</guid>
		<description>Unit testing should be in the way as little as possible. Learning or reading a new programming language seems to be &quot;in the way&quot;.

The best way I&#039;ve seen unit testing disappear into the background is with doctests:

http://en.wikipedia.org/wiki/Doctest

http://blog.ianbicking.org/2007/11/27/java-bdd/

That doesn&#039;t take care of any mocking concerns, of course, but another language just to write tests seems overkill.</description>
		<content:encoded><![CDATA[<p>Unit testing should be in the way as little as possible. Learning or reading a new programming language seems to be &#8220;in the way&#8221;.</p>
<p>The best way I&#8217;ve seen unit testing disappear into the background is with doctests:</p>
<p><a href="http://en.wikipedia.org/wiki/Doctest" rel="nofollow">http://en.wikipedia.org/wiki/Doctest</a></p>
<p><a href="http://blog.ianbicking.org/2007/11/27/java-bdd/" rel="nofollow">http://blog.ianbicking.org/2007/11/27/java-bdd/</a></p>
<p>That doesn&#8217;t take care of any mocking concerns, of course, but another language just to write tests seems overkill.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adam</title>
		<link>http://www.hans-eric.com/2007/12/10/does-unit-testing-deserve-its-own-dsl/comment-page-1/#comment-1321</link>
		<dc:creator>Adam</dc:creator>
		<pubDate>Mon, 10 Dec 2007 22:36:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.hans-eric.com/2007/12/10/does-unit-testing-deserve-its-own-dsl/#comment-1321</guid>
		<description>I&#039;d personally say it does from my experience in programming!</description>
		<content:encoded><![CDATA[<p>I&#8217;d personally say it does from my experience in programming!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.355 seconds -->
