<?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"
	>
<channel>
	<title>Comments on: Go Ahead. Break the Build!</title>
	<atom:link href="http://cafe.elharo.com/testing/go-ahead-break-the-build/feed/" rel="self" type="application/rss+xml" />
	<link>http://cafe.elharo.com/testing/go-ahead-break-the-build/</link>
	<description>Longer than a blog; shorter than a book</description>
	<pubDate>Sun, 07 Sep 2008 18:09:38 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
		<item>
		<title>By: airgle</title>
		<link>http://cafe.elharo.com/testing/go-ahead-break-the-build/#comment-133131</link>
		<dc:creator>airgle</dc:creator>
		<pubDate>Tue, 25 Sep 2007 14:03:19 +0000</pubDate>
		<guid isPermaLink="false">http://cafe.elharo.com/testing/go-ahead-break-the-build/#comment-133131</guid>
		<description>The problem could also be solved by distinguishing between a staging area (prospective commit) and an actual build.</description>
		<content:encoded><![CDATA[<p>The problem could also be solved by distinguishing between a staging area (prospective commit) and an actual build.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andreq Swift</title>
		<link>http://cafe.elharo.com/testing/go-ahead-break-the-build/#comment-116938</link>
		<dc:creator>Andreq Swift</dc:creator>
		<pubDate>Mon, 06 Aug 2007 14:41:44 +0000</pubDate>
		<guid isPermaLink="false">http://cafe.elharo.com/testing/go-ahead-break-the-build/#comment-116938</guid>
		<description>I agree. 

Using TestNG groups is a great way of working around the build problems mentioned. It also gives you a chance to run only the
tests that are in the broken group so you can see your todo list in front of you ;) 

Allowing checkins of tests that fail is a must when doing Test driven development.</description>
		<content:encoded><![CDATA[<p>I agree. </p>
<p>Using TestNG groups is a great way of working around the build problems mentioned. It also gives you a chance to run only the<br />
tests that are in the broken group so you can see your todo list in front of you <img src='http://cafe.elharo.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Allowing checkins of tests that fail is a must when doing Test driven development.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: links for 2007-05-27 &#171; betaalfa</title>
		<link>http://cafe.elharo.com/testing/go-ahead-break-the-build/#comment-93730</link>
		<dc:creator>links for 2007-05-27 &#171; betaalfa</dc:creator>
		<pubDate>Sun, 27 May 2007 04:17:53 +0000</pubDate>
		<guid isPermaLink="false">http://cafe.elharo.com/testing/go-ahead-break-the-build/#comment-93730</guid>
		<description>[...] Go Ahead. Break the Build! (tags: testing development ci maven junit agile by:elliotte_rusty_harold) [...]</description>
		<content:encoded><![CDATA[<p>[...] Go Ahead. Break the Build! (tags: testing development ci maven junit agile by:elliotte_rusty_harold) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bill de hOra</title>
		<link>http://cafe.elharo.com/testing/go-ahead-break-the-build/#comment-53565</link>
		<dc:creator>Bill de hOra</dc:creator>
		<pubDate>Sat, 03 Feb 2007 17:09:49 +0000</pubDate>
		<guid isPermaLink="false">http://cafe.elharo.com/testing/go-ahead-break-the-build/#comment-53565</guid>
		<description>Taking potshots at Charle's Miller is unconvincing given Atlassian are making some of the best Java payware out there. 

"The solution, perhaps, is the anti-test. Write a test that verifies the bug."

Sounds like a plan to me, but making them go green is chromatic overloading. I would use another color for tests that verify a defect- black or purple maybe. Hey, can that feature ship for Bamboo 1.0!?</description>
		<content:encoded><![CDATA[<p>Taking potshots at Charle&#8217;s Miller is unconvincing given Atlassian are making some of the best Java payware out there. </p>
<p>&#8220;The solution, perhaps, is the anti-test. Write a test that verifies the bug.&#8221;</p>
<p>Sounds like a plan to me, but making them go green is chromatic overloading. I would use another color for tests that verify a defect- black or purple maybe. Hey, can that feature ship for Bamboo 1.0!?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: deployJava &#187; Go Ahead. Break the Build!</title>
		<link>http://cafe.elharo.com/testing/go-ahead-break-the-build/#comment-52297</link>
		<dc:creator>deployJava &#187; Go Ahead. Break the Build!</dc:creator>
		<pubDate>Tue, 30 Jan 2007 12:07:12 +0000</pubDate>
		<guid isPermaLink="false">http://cafe.elharo.com/testing/go-ahead-break-the-build/#comment-52297</guid>
		<description>[...] Go&#8230; [...]</description>
		<content:encoded><![CDATA[<p>[...] Go&#8230; [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: The Disco Blog &#187; Blog Archive &#187; The weekly bag&#8211; Jan 26</title>
		<link>http://cafe.elharo.com/testing/go-ahead-break-the-build/#comment-51488</link>
		<dc:creator>The Disco Blog &#187; Blog Archive &#187; The weekly bag&#8211; Jan 26</dc:creator>
		<pubDate>Sat, 27 Jan 2007 02:26:08 +0000</pubDate>
		<guid isPermaLink="false">http://cafe.elharo.com/testing/go-ahead-break-the-build/#comment-51488</guid>
		<description>[...] Go Ahead. Break the Build!- I agree in principle, but in practice it has dangers, man. [...]</description>
		<content:encoded><![CDATA[<p>[...] Go Ahead. Break the Build!- I agree in principle, but in practice it has dangers, man. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cedric</title>
		<link>http://cafe.elharo.com/testing/go-ahead-break-the-build/#comment-50768</link>
		<dc:creator>Cedric</dc:creator>
		<pubDate>Wed, 24 Jan 2007 05:37:07 +0000</pubDate>
		<guid isPermaLink="false">http://cafe.elharo.com/testing/go-ahead-break-the-build/#comment-50768</guid>
		<description>Danno,

Groups are also a good solution for running tests only for certain platforms:  you can put methods in a group "win32", "macos", "linux" or any combination thereof, and then only run these groups on the given platforms.</description>
		<content:encoded><![CDATA[<p>Danno,</p>
<p>Groups are also a good solution for running tests only for certain platforms:  you can put methods in a group &#8220;win32&#8243;, &#8220;macos&#8221;, &#8220;linux&#8221; or any combination thereof, and then only run these groups on the given platforms.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cedric</title>
		<link>http://cafe.elharo.com/testing/go-ahead-break-the-build/#comment-50766</link>
		<dc:creator>Cedric</dc:creator>
		<pubDate>Wed, 24 Jan 2007 05:31:22 +0000</pubDate>
		<guid isPermaLink="false">http://cafe.elharo.com/testing/go-ahead-break-the-build/#comment-50766</guid>
		<description>Tim,

Yes, it's very easy to achieve with TestNG:  you can put your test methods in a particular group (I use "broken") and always exclude this group from your test runs.  After each run, TestNG generates several HTML reports, one of which lists all the methods in each group, so it's trivial to find out which test methods are currently being skipped and make sure they are removed from the "broken" group before you ship.

-- 
Cedric</description>
		<content:encoded><![CDATA[<p>Tim,</p>
<p>Yes, it&#8217;s very easy to achieve with TestNG:  you can put your test methods in a particular group (I use &#8220;broken&#8221;) and always exclude this group from your test runs.  After each run, TestNG generates several HTML reports, one of which lists all the methods in each group, so it&#8217;s trivial to find out which test methods are currently being skipped and make sure they are removed from the &#8220;broken&#8221; group before you ship.</p>
<p>&#8211;<br />
Cedric</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy</title>
		<link>http://cafe.elharo.com/testing/go-ahead-break-the-build/#comment-50745</link>
		<dc:creator>Andy</dc:creator>
		<pubDate>Wed, 24 Jan 2007 03:29:56 +0000</pubDate>
		<guid isPermaLink="false">http://cafe.elharo.com/testing/go-ahead-break-the-build/#comment-50745</guid>
		<description>I used to own a car that had an oil leak-- it was a ridiculous EPA nightmare. When the roads were slick due to rain, there would be a visible oil slick following my car. I used to add a quart of oil to the engine every other day. After some time, I got lazy and wouldn't even check the oil level before I added a quart. Later, I got even lazier and would forget to add oil for days-- then one day while I was driving to work my engine block fused into a solid hunk of very hot metal. Amazingly enough, it didn't blow up and kill me. 

I had a failing unit test but I got lazy and stopped caring about it. It cost me ten grand to buy a new car (which I had to buy the next day so I could go to work and get paid). If I had fixed the issue when I noticed the leak (it was a gasket that needed replacing of all things) it would have maybe cost me a few hundred bucks. 

I agree in principle to your point, but in practice it has the potential to lead to bad things (especially if people like me are watching over things!).</description>
		<content:encoded><![CDATA[<p>I used to own a car that had an oil leak&#8211; it was a ridiculous EPA nightmare. When the roads were slick due to rain, there would be a visible oil slick following my car. I used to add a quart of oil to the engine every other day. After some time, I got lazy and wouldn&#8217;t even check the oil level before I added a quart. Later, I got even lazier and would forget to add oil for days&#8211; then one day while I was driving to work my engine block fused into a solid hunk of very hot metal. Amazingly enough, it didn&#8217;t blow up and kill me. </p>
<p>I had a failing unit test but I got lazy and stopped caring about it. It cost me ten grand to buy a new car (which I had to buy the next day so I could go to work and get paid). If I had fixed the issue when I noticed the leak (it was a gasket that needed replacing of all things) it would have maybe cost me a few hundred bucks. </p>
<p>I agree in principle to your point, but in practice it has the potential to lead to bad things (especially if people like me are watching over things!).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://cafe.elharo.com/testing/go-ahead-break-the-build/#comment-49428</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Wed, 17 Jan 2007 21:31:56 +0000</pubDate>
		<guid isPermaLink="false">http://cafe.elharo.com/testing/go-ahead-break-the-build/#comment-49428</guid>
		<description>The problem could also be solved by distinguishing between a staging area (prospective commit) and an actual build (commit).  I've worked on a lot of projects over many years, and introducing an official staging area was really a big help in a lot of ways.

By the way, developers who break the staging area builds get to clean up their own messes, too.</description>
		<content:encoded><![CDATA[<p>The problem could also be solved by distinguishing between a staging area (prospective commit) and an actual build (commit).  I&#8217;ve worked on a lot of projects over many years, and introducing an official staging area was really a big help in a lot of ways.</p>
<p>By the way, developers who break the staging area builds get to clean up their own messes, too.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
