<?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: Testing and the scientist-programmer</title>
	<atom:link href="http://www.programming4scientists.com/2009/03/30/testing-and-the-scientist-programmer/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.programming4scientists.com/2009/03/30/testing-and-the-scientist-programmer/</link>
	<description>Software development wisdom and common-sense for the scientist-programmer</description>
	<lastBuildDate>Sun, 28 Feb 2010 19:34:26 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Mailund on the Internet &#187; Blog Archive &#187; Last week in the blogs</title>
		<link>http://www.programming4scientists.com/2009/03/30/testing-and-the-scientist-programmer/comment-page-1/#comment-297</link>
		<dc:creator>Mailund on the Internet &#187; Blog Archive &#187; Last week in the blogs</dc:creator>
		<pubDate>Mon, 06 Apr 2009 07:09:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.programming4scientists.com/?p=491#comment-297</guid>
		<description>[...] Testing and the scientist-programmer (Programming for Scientists) [...]</description>
		<content:encoded><![CDATA[<p>[...] Testing and the scientist-programmer (Programming for Scientists) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rich</title>
		<link>http://www.programming4scientists.com/2009/03/30/testing-and-the-scientist-programmer/comment-page-1/#comment-276</link>
		<dc:creator>Rich</dc:creator>
		<pubDate>Mon, 30 Mar 2009 17:14:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.programming4scientists.com/?p=491#comment-276</guid>
		<description>Hi Gioby - thanks for the comment!

&gt;It is very easy to say ‘test your code’, but 
&gt;the problem is when you are a master student, 
&gt;nobody teaches you programming, and people 
&gt;expect you to produce big results without 
&gt;efforts.

We hope our articles help a bit :-)

I completely sympathise, having been there myself.  I&#039;m afraid the solution is often to teach oneself the relevant skills, as you have done.

I&#039;m still working on how to communicate to collaborators/supervisors etc that producing high quality code takes time.  I think that because scientists are naturally skeptical, trying to provide proof/evidence is a good way forward.</description>
		<content:encoded><![CDATA[<p>Hi Gioby &#8211; thanks for the comment!</p>
<p>>It is very easy to say ‘test your code’, but<br />
>the problem is when you are a master student,<br />
>nobody teaches you programming, and people<br />
>expect you to produce big results without<br />
>efforts.</p>
<p>We hope our articles help a bit :-)</p>
<p>I completely sympathise, having been there myself.  I&#8217;m afraid the solution is often to teach oneself the relevant skills, as you have done.</p>
<p>I&#8217;m still working on how to communicate to collaborators/supervisors etc that producing high quality code takes time.  I think that because scientists are naturally skeptical, trying to provide proof/evidence is a good way forward.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gioby</title>
		<link>http://www.programming4scientists.com/2009/03/30/testing-and-the-scientist-programmer/comment-page-1/#comment-275</link>
		<dc:creator>gioby</dc:creator>
		<pubDate>Mon, 30 Mar 2009 17:06:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.programming4scientists.com/?p=491#comment-275</guid>
		<description>It is very easy to say &#039;test your code&#039;, but the problem is when you are a master student, nobody teaches you programming, and people expect you to produce big results without efforts.

After one year or two that I have been programming, I have found a good solution in using three python tools:
- doctests which allow you to write quick and easy to understand tests, especially useful for the documentation; I use them for all my &#039;on the fly&#039; scripts, even if I am unaware that I am leaving some tests behind;
- python&#039;s unittest, which is fine and allows to define fixtures, essential for bigger tests
- nose, which is a tool for automatic test discovery in python code (it means that it looks for all the function with the word &#039;test_&#039; in your code, and execute them)

I am unaware of the testing solutions in other programming languages. I have tried some modules on perl a bit, but didn&#039;t like them very much.</description>
		<content:encoded><![CDATA[<p>It is very easy to say &#8216;test your code&#8217;, but the problem is when you are a master student, nobody teaches you programming, and people expect you to produce big results without efforts.</p>
<p>After one year or two that I have been programming, I have found a good solution in using three python tools:<br />
- doctests which allow you to write quick and easy to understand tests, especially useful for the documentation; I use them for all my &#8216;on the fly&#8217; scripts, even if I am unaware that I am leaving some tests behind;<br />
- python&#8217;s unittest, which is fine and allows to define fixtures, essential for bigger tests<br />
- nose, which is a tool for automatic test discovery in python code (it means that it looks for all the function with the word &#8216;test_&#8217; in your code, and execute them)</p>
<p>I am unaware of the testing solutions in other programming languages. I have tried some modules on perl a bit, but didn&#8217;t like them very much.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: popurls.com // popular today</title>
		<link>http://www.programming4scientists.com/2009/03/30/testing-and-the-scientist-programmer/comment-page-1/#comment-274</link>
		<dc:creator>popurls.com // popular today</dc:creator>
		<pubDate>Mon, 30 Mar 2009 14:21:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.programming4scientists.com/?p=491#comment-274</guid>
		<description>&lt;strong&gt;popurls.com // popular today...&lt;/strong&gt;

story has entered the popular today section on popurls.com...</description>
		<content:encoded><![CDATA[<p><strong>popurls.com // popular today&#8230;</strong></p>
<p>story has entered the popular today section on popurls.com&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
