<?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: (No) Tickets, please!</title>
	<atom:link href="http://cakebaker.42dh.com/2009/01/02/no-tickets-please/feed/" rel="self" type="application/rss+xml" />
	<link>http://cakebaker.42dh.com/2009/01/02/no-tickets-please/</link>
	<description>baking cakes with CakePHP</description>
	<lastBuildDate>Sat, 13 Mar 2010 06:19:37 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: CakePHP Digest #5 &#124; PseudoCoder.com</title>
		<link>http://cakebaker.42dh.com/2009/01/02/no-tickets-please/comment-page-1/#comment-117351</link>
		<dc:creator>CakePHP Digest #5 &#124; PseudoCoder.com</dc:creator>
		<pubDate>Wed, 14 Jan 2009 16:09:07 +0000</pubDate>
		<guid isPermaLink="false">http://cakebaker.42dh.com/?p=1043#comment-117351</guid>
		<description>[...] (cakebaker) declaration of his framework free agency (on twitter too). But then his first post after this announcement was about CakePHP. Since that post launched a fairly long comment thread let&#8217;s skip right [...]</description>
		<content:encoded><![CDATA[<p>[...] (cakebaker) declaration of his framework free agency (on twitter too). But then his first post after this announcement was about CakePHP. Since that post launched a fairly long comment thread let&#8217;s skip right [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cakebaker</title>
		<link>http://cakebaker.42dh.com/2009/01/02/no-tickets-please/comment-page-1/#comment-117063</link>
		<dc:creator>cakebaker</dc:creator>
		<pubDate>Sun, 11 Jan 2009 15:09:22 +0000</pubDate>
		<guid isPermaLink="false">http://cakebaker.42dh.com/?p=1043#comment-117063</guid>
		<description>@Brandon: Well said :)</description>
		<content:encoded><![CDATA[<p>@Brandon: Well said :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brandon P</title>
		<link>http://cakebaker.42dh.com/2009/01/02/no-tickets-please/comment-page-1/#comment-116884</link>
		<dc:creator>Brandon P</dc:creator>
		<pubDate>Fri, 09 Jan 2009 16:20:02 +0000</pubDate>
		<guid isPermaLink="false">http://cakebaker.42dh.com/?p=1043#comment-116884</guid>
		<description>Dear CakePHP,
Don&#039;t bit the hand that feeds you.

Sincerely,
Everyone who is just trying to help,</description>
		<content:encoded><![CDATA[<p>Dear CakePHP,<br />
Don&#8217;t bit the hand that feeds you.</p>
<p>Sincerely,<br />
Everyone who is just trying to help,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cakebaker</title>
		<link>http://cakebaker.42dh.com/2009/01/02/no-tickets-please/comment-page-1/#comment-116883</link>
		<dc:creator>cakebaker</dc:creator>
		<pubDate>Fri, 09 Jan 2009 15:59:51 +0000</pubDate>
		<guid isPermaLink="false">http://cakebaker.42dh.com/?p=1043#comment-116883</guid>
		<description>@Matt: Yes, that&#039;s not really encouraging to contribute and I really hope the cake devs will rethink the way they respond to tickets...</description>
		<content:encoded><![CDATA[<p>@Matt: Yes, that&#8217;s not really encouraging to contribute and I really hope the cake devs will rethink the way they respond to tickets&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Huggins</title>
		<link>http://cakebaker.42dh.com/2009/01/02/no-tickets-please/comment-page-1/#comment-116826</link>
		<dc:creator>Matt Huggins</dc:creator>
		<pubDate>Thu, 08 Jan 2009 17:25:58 +0000</pubDate>
		<guid isPermaLink="false">http://cakebaker.42dh.com/?p=1043#comment-116826</guid>
		<description>I basically stopped submitting bugs after I realized how much extra work was required on my end.  I thought I submitted a ton of info already, but it was marked as closed without any work because I didn&#039;t provide a test case, diff file, etc.  I did it for one issue that I needed to have fixed, but it was too much effort for me to want to go through it again.</description>
		<content:encoded><![CDATA[<p>I basically stopped submitting bugs after I realized how much extra work was required on my end.  I thought I submitted a ton of info already, but it was marked as closed without any work because I didn&#8217;t provide a test case, diff file, etc.  I did it for one issue that I needed to have fixed, but it was too much effort for me to want to go through it again.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cakebaker</title>
		<link>http://cakebaker.42dh.com/2009/01/02/no-tickets-please/comment-page-1/#comment-116824</link>
		<dc:creator>cakebaker</dc:creator>
		<pubDate>Thu, 08 Jan 2009 16:31:44 +0000</pubDate>
		<guid isPermaLink="false">http://cakebaker.42dh.com/?p=1043#comment-116824</guid>
		<description>@Martin: *g*

@Abhimanyu: It seems like the left hand doesn&#039;t know what the right hand does ;-)  However, I think it is a good idea to ship the release without tests as probably most users of the release don&#039;t need them anyway.</description>
		<content:encoded><![CDATA[<p>@Martin: *g*</p>
<p>@Abhimanyu: It seems like the left hand doesn&#8217;t know what the right hand does ;-)  However, I think it is a good idea to ship the release without tests as probably most users of the release don&#8217;t need them anyway.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Abhimanyu Grover</title>
		<link>http://cakebaker.42dh.com/2009/01/02/no-tickets-please/comment-page-1/#comment-116786</link>
		<dc:creator>Abhimanyu Grover</dc:creator>
		<pubDate>Thu, 08 Jan 2009 02:42:29 +0000</pubDate>
		<guid isPermaLink="false">http://cakebaker.42dh.com/?p=1043#comment-116786</guid>
		<description>@cakebaker

“For this release, we have removed the test files from the build [..]“

That is quite funny!</description>
		<content:encoded><![CDATA[<p>@cakebaker</p>
<p>“For this release, we have removed the test files from the build [..]“</p>
<p>That is quite funny!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin Westin</title>
		<link>http://cakebaker.42dh.com/2009/01/02/no-tickets-please/comment-page-1/#comment-116766</link>
		<dc:creator>Martin Westin</dc:creator>
		<pubDate>Wed, 07 Jan 2009 20:10:32 +0000</pubDate>
		<guid isPermaLink="false">http://cakebaker.42dh.com/?p=1043#comment-116766</guid>
		<description>I only found the line: &quot;Test suite now integrated into the framework&quot; and at first though that they sure had integrated it well since I could not find the files :)</description>
		<content:encoded><![CDATA[<p>I only found the line: &#8220;Test suite now integrated into the framework&#8221; and at first though that they sure had integrated it well since I could not find the files :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cakebaker</title>
		<link>http://cakebaker.42dh.com/2009/01/02/no-tickets-please/comment-page-1/#comment-116754</link>
		<dc:creator>cakebaker</dc:creator>
		<pubDate>Wed, 07 Jan 2009 16:47:00 +0000</pubDate>
		<guid isPermaLink="false">http://cakebaker.42dh.com/?p=1043#comment-116754</guid>
		<description>@teknoid: Yes, there are tickets which waste everyone&#039;s time, but I don&#039;t think you can eliminate those tickets completely, even if you require tests. 

I agree with you that requiring tests will slow down things, but I don&#039;t think it will result in a better end-product. I don&#039;t see a connection between the quality of the end-product and the requirement of providing bug reports with tests.

@Martin: No, that would be a bit overkill to provide a test for a test ;-)

And regarding an almost empty cake/tests directory: the release doesn&#039;t contain the core tests, see the &lt;a href=&quot;http://bakery.cakephp.org/articles/view/the-gift-of-1-2-final&quot; rel=&quot;nofollow&quot;&gt;announcement&lt;/a&gt;: &quot;For this release, we have removed the test files from the build [..]&quot;.</description>
		<content:encoded><![CDATA[<p>@teknoid: Yes, there are tickets which waste everyone&#8217;s time, but I don&#8217;t think you can eliminate those tickets completely, even if you require tests. </p>
<p>I agree with you that requiring tests will slow down things, but I don&#8217;t think it will result in a better end-product. I don&#8217;t see a connection between the quality of the end-product and the requirement of providing bug reports with tests.</p>
<p>@Martin: No, that would be a bit overkill to provide a test for a test ;-)</p>
<p>And regarding an almost empty cake/tests directory: the release doesn&#8217;t contain the core tests, see the <a href="http://bakery.cakephp.org/articles/view/the-gift-of-1-2-final" rel="nofollow">announcement</a>: &#8220;For this release, we have removed the test files from the build [..]&#8220;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin Westin</title>
		<link>http://cakebaker.42dh.com/2009/01/02/no-tickets-please/comment-page-1/#comment-116735</link>
		<dc:creator>Martin Westin</dc:creator>
		<pubDate>Wed, 07 Jan 2009 10:22:27 +0000</pubDate>
		<guid isPermaLink="false">http://cakebaker.42dh.com/?p=1043#comment-116735</guid>
		<description>@cakebaker
I can see the line-drawing being a problem but it does feel like a big waste of effort to write a NEW test case when an existing one does not do its job and should be fixed.

It the function testSomething() (or its fixtures and other data) turns out to not cover every eventuality I think it is bad to require the creation of new fixtures and the function testSomethingAgainButCorrectlyThisTime() instead of correcting the existing code.

The question was more: Should a new test case and new fixtures  be created to illustrate a bug in a test case or a fixture?

I had one of these situations myself. A destructive bug that was (IMHO with poor attitude) closed and re-closed on the grounds of &quot;policy&quot; with little regard for a the fact that it actually destroyed data in peoples applications.

There was an existing test to cover bug, but it was not prefect. One (1) line added to the test&#039;s fixture revealed the bug and showed that the suggested patch fixed the bug and did not cause any other tests to fail. The accepted test eventually ended up being 30-40 lines of code identical to the existing test except that the corresponding fixture had that extra line.

The bug was caught early (not by me, I found it a day later) but was open a lot longer that necessary (again IMHO). In the mean time causing several threads in the google group where people was wondering where their data had gone.


I am not looking to bash on the core team, but I can see how the above may sound like it. 
I just want to illustrate that this door swings both ways. Requiring tests will definitely weed out a lot of &quot;nonsense&quot; but it will also slow down the time it takes for real bugs to be fixed.

And I am currently in no position to submit any tests... since my cake/tests dir for 1.2 stable is almost empty. Anyone know where all the tests went? :)</description>
		<content:encoded><![CDATA[<p>@cakebaker<br />
I can see the line-drawing being a problem but it does feel like a big waste of effort to write a NEW test case when an existing one does not do its job and should be fixed.</p>
<p>It the function testSomething() (or its fixtures and other data) turns out to not cover every eventuality I think it is bad to require the creation of new fixtures and the function testSomethingAgainButCorrectlyThisTime() instead of correcting the existing code.</p>
<p>The question was more: Should a new test case and new fixtures  be created to illustrate a bug in a test case or a fixture?</p>
<p>I had one of these situations myself. A destructive bug that was (IMHO with poor attitude) closed and re-closed on the grounds of &#8220;policy&#8221; with little regard for a the fact that it actually destroyed data in peoples applications.</p>
<p>There was an existing test to cover bug, but it was not prefect. One (1) line added to the test&#8217;s fixture revealed the bug and showed that the suggested patch fixed the bug and did not cause any other tests to fail. The accepted test eventually ended up being 30-40 lines of code identical to the existing test except that the corresponding fixture had that extra line.</p>
<p>The bug was caught early (not by me, I found it a day later) but was open a lot longer that necessary (again IMHO). In the mean time causing several threads in the google group where people was wondering where their data had gone.</p>
<p>I am not looking to bash on the core team, but I can see how the above may sound like it.<br />
I just want to illustrate that this door swings both ways. Requiring tests will definitely weed out a lot of &#8220;nonsense&#8221; but it will also slow down the time it takes for real bugs to be fixed.</p>
<p>And I am currently in no position to submit any tests&#8230; since my cake/tests dir for 1.2 stable is almost empty. Anyone know where all the tests went? :)</p>
]]></content:encoded>
	</item>
</channel>
</rss>
