<?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: On Unit Testing Requirements</title>
	<atom:link href="http://shawnwilsher.com/archives/146/feed" rel="self" type="application/rss+xml" />
	<link>http://shawnwilsher.com/archives/146</link>
	<description></description>
	<lastBuildDate>Wed, 03 Mar 2010 21:06:45 -0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Standard8</title>
		<link>http://shawnwilsher.com/archives/146/comment-page-1#comment-2755</link>
		<dc:creator>Standard8</dc:creator>
		<pubDate>Mon, 31 Mar 2008 07:55:50 +0000</pubDate>
		<guid isPermaLink="false">http://shawnwilsher.com/archives/146#comment-2755</guid>
		<description>As a mailnews peer, where we are trying to get a testing structure in place at the moment, I&#039;m very interested in what toolkit/core is doing.

I certainly remember Benjamin blogging about test cases for toolkit being mandatory, but I can&#039;t remember it being posted on newsgroups etc or anywhere else (apart from wiki, which unless you read the changes each day, you&#039;re unlikely to notice).

Certainly I think our expectations of new contributors should be lower. On one or two patches where I can see the benefit of test cases (even just in fixing the patch, let alone regression testing), I have offered to write the test or at least do a structure for the test. Yes it may be more work, but then at least we get the patch and a test in, rather than a patch posted and not checked in because it hasn&#039;t got a test even though it may be clear it would work.

I think we have to be careful because we can turn away new developers with a requirement like this, but at the same time, some of the test cases are so easy to write, we just need to be able to show developers how easy they are to write.</description>
		<content:encoded><![CDATA[<p>As a mailnews peer, where we are trying to get a testing structure in place at the moment, I&#8217;m very interested in what toolkit/core is doing.</p>
<p>I certainly remember Benjamin blogging about test cases for toolkit being mandatory, but I can&#8217;t remember it being posted on newsgroups etc or anywhere else (apart from wiki, which unless you read the changes each day, you&#8217;re unlikely to notice).</p>
<p>Certainly I think our expectations of new contributors should be lower. On one or two patches where I can see the benefit of test cases (even just in fixing the patch, let alone regression testing), I have offered to write the test or at least do a structure for the test. Yes it may be more work, but then at least we get the patch and a test in, rather than a patch posted and not checked in because it hasn&#8217;t got a test even though it may be clear it would work.</p>
<p>I think we have to be careful because we can turn away new developers with a requirement like this, but at the same time, some of the test cases are so easy to write, we just need to be able to show developers how easy they are to write.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stuart Parmenter</title>
		<link>http://shawnwilsher.com/archives/146/comment-page-1#comment-2754</link>
		<dc:creator>Stuart Parmenter</dc:creator>
		<pubDate>Mon, 31 Mar 2008 06:53:17 +0000</pubDate>
		<guid isPermaLink="false">http://shawnwilsher.com/archives/146#comment-2754</guid>
		<description>Shawn: Get the community to help write tests.  They don&#039;t have to come from the &quot;module owner&quot; or the &quot;peers&quot; or even code contributors.  Our community is huge, and I&#039;m sure there are people that would love to help and can take some of the burden off of you guys.</description>
		<content:encoded><![CDATA[<p>Shawn: Get the community to help write tests.  They don&#8217;t have to come from the &#8220;module owner&#8221; or the &#8220;peers&#8221; or even code contributors.  Our community is huge, and I&#8217;m sure there are people that would love to help and can take some of the burden off of you guys.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob Sayre&#8217;s Mozilla Blog &#187; Blog Archive &#187; The Back Burner</title>
		<link>http://shawnwilsher.com/archives/146/comment-page-1#comment-2753</link>
		<dc:creator>Rob Sayre&#8217;s Mozilla Blog &#187; Blog Archive &#187; The Back Burner</dc:creator>
		<pubDate>Mon, 31 Mar 2008 06:24:24 +0000</pubDate>
		<guid isPermaLink="false">http://shawnwilsher.com/archives/146#comment-2753</guid>
		<description>[...] Shawn Wilsher: &#8220;Most module owners and their peers are often patchers as well. If they have to now write tests for other people’s patches, do reviews in their module, and do patches elsewhere (because nobody who’s a peer or module owner really works in just one module), they are highly likely to put something on the back-burner. Personally, any bug that wasn’t a serious issue that required me to write a test would probably become very low priority (and I suspect that to be the same for most other people).&#8221; [...]</description>
		<content:encoded><![CDATA[<p>[...] Shawn Wilsher: &#8220;Most module owners and their peers are often patchers as well. If they have to now write tests for other people’s patches, do reviews in their module, and do patches elsewhere (because nobody who’s a peer or module owner really works in just one module), they are highly likely to put something on the back-burner. Personally, any bug that wasn’t a serious issue that required me to write a test would probably become very low priority (and I suspect that to be the same for most other people).&#8221; [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
