<?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: Easier Unit Tests</title>
	<atom:link href="http://www.nicollet.net/2009/08/easier-unit-tests/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.nicollet.net/2009/08/easier-unit-tests/</link>
	<description>Everyone Loves Me</description>
	<lastBuildDate>Sat, 11 Feb 2012 18:59:19 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
	<item>
		<title>By: Victor Nicollet</title>
		<link>http://www.nicollet.net/2009/08/easier-unit-tests/comment-page-1/#comment-11425</link>
		<dc:creator>Victor Nicollet</dc:creator>
		<pubDate>Wed, 19 Aug 2009 15:21:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.nicollet.net/?p=1099#comment-11425</guid>
		<description>I think I would go for a &quot;run the code in a fully initialized environment&quot;, just like in PHP: all the main dependencies are already loaded when the code is executed, which means that most code is available. Having to set up your environment for testing out stuff would turn out to be quite annoying, since the more complex interactions usually require a lot of things to be initialized and running...</description>
		<content:encoded><![CDATA[<p>I think I would go for a &#8220;run the code in a fully initialized environment&#8221;, just like in PHP: all the main dependencies are already loaded when the code is executed, which means that most code is available. Having to set up your environment for testing out stuff would turn out to be quite annoying, since the more complex interactions usually require a lot of things to be initialized and running&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe Venzon</title>
		<link>http://www.nicollet.net/2009/08/easier-unit-tests/comment-page-1/#comment-11367</link>
		<dc:creator>Joe Venzon</dc:creator>
		<pubDate>Tue, 18 Aug 2009 20:16:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.nicollet.net/?p=1099#comment-11367</guid>
		<description>I think it&#039;d be interesting to apply something similar to C++ development. The user would start the framework UI and set it up to work with a certain set of source files. The user could then repeatedly enter some statement in a text box and hit a &quot;run&quot; button. The UI would then wrap some C++ code for main() around the statement and initiate compilation, linking in the other source files. The UI would then either display the compiler error or, if compilation was successful, run the executable and display the result (the unit under test would need to implement writing to an ostream). If the user clicks the &quot;add case&quot; button, the statement would be appended to a file with the test cases, which could be formatted into a C++ implementation file for the project&#039;s unit testing framework, or run directly from the UI.</description>
		<content:encoded><![CDATA[<p>I think it&#8217;d be interesting to apply something similar to C++ development. The user would start the framework UI and set it up to work with a certain set of source files. The user could then repeatedly enter some statement in a text box and hit a &#8220;run&#8221; button. The UI would then wrap some C++ code for main() around the statement and initiate compilation, linking in the other source files. The UI would then either display the compiler error or, if compilation was successful, run the executable and display the result (the unit under test would need to implement writing to an ostream). If the user clicks the &#8220;add case&#8221; button, the statement would be appended to a file with the test cases, which could be formatted into a C++ implementation file for the project&#8217;s unit testing framework, or run directly from the UI.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

