<?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</title>
	<atom:link href="http://cafe.elharo.com/testing/testing/feed/" rel="self" type="application/rss+xml" />
	<link>http://cafe.elharo.com/testing/testing/</link>
	<description>Longer than a blog; shorter than a book</description>
	<lastBuildDate>Wed, 08 Feb 2012 21:45:25 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
	<item>
		<title>By: ainscough.net &#187; HTTP and HTML testing</title>
		<link>http://cafe.elharo.com/testing/testing/comment-page-1/#comment-301535</link>
		<dc:creator>ainscough.net &#187; HTTP and HTML testing</dc:creator>
		<pubDate>Sat, 11 Oct 2008 13:45:23 +0000</pubDate>
		<guid isPermaLink="false">http://cafe.elharo.com/testing/testing/#comment-301535</guid>
		<description>[...] article  on HTTP and HTML testing using IT test [...]</description>
		<content:encoded><![CDATA[<p>[...] article  on HTTP and HTML testing using IT test [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: C. Doley</title>
		<link>http://cafe.elharo.com/testing/testing/comment-page-1/#comment-241803</link>
		<dc:creator>C. Doley</dc:creator>
		<pubDate>Wed, 25 Jun 2008 12:54:31 +0000</pubDate>
		<guid isPermaLink="false">http://cafe.elharo.com/testing/testing/#comment-241803</guid>
		<description>I don&#039;t think TDD works well for web development.  In my experience, web sites developed using HtmlUnit or similar tools tend to be of much _lower_ quality than sites developed without any unit tests on the front end at all.  Which of course opens up the glaring question of why.

The fact is that TDD takes resources away from other things.  In cases where you&#039;re writing underlying libraries this is almost always a good tradeoff, in that the robustness of the back-end saves countless hours of debugging in the layers built on top of it.  In web development, this does not apply. 

The typical web development process works like this:

  Gather requirements.
  Have artists design the pages.
  Convert to HTML and hook into back-office systems.
  Refine the requirements.
  Tweak the designs.
  Get new artists.
  etc.


In some sense this is like all other software development.  But the important distinction here is that the cost of changes to web pages is very small compared with changes to shrink-wrapped or back-office software.  With the web it is possible to have extremely short release cycles and frequent design changes.  In fact, the general public has come to expect their web sites to be continually refined to make their experience more gratifying.

The problem with trying to apply TDD to this environment is that it reduces flexibility,  and thus makes the web site seem more clunky and less tailored to people&#039;s needs.  This is certainly true on the ones I&#039;ve been a part of, but it&#039;s also pretty obvious when you come across it (anyone ever try QuickBooks Online?)</description>
		<content:encoded><![CDATA[<p>I don&#8217;t think TDD works well for web development.  In my experience, web sites developed using HtmlUnit or similar tools tend to be of much _lower_ quality than sites developed without any unit tests on the front end at all.  Which of course opens up the glaring question of why.</p>
<p>The fact is that TDD takes resources away from other things.  In cases where you&#8217;re writing underlying libraries this is almost always a good tradeoff, in that the robustness of the back-end saves countless hours of debugging in the layers built on top of it.  In web development, this does not apply. </p>
<p>The typical web development process works like this:</p>
<p>  Gather requirements.<br />
  Have artists design the pages.<br />
  Convert to HTML and hook into back-office systems.<br />
  Refine the requirements.<br />
  Tweak the designs.<br />
  Get new artists.<br />
  etc.</p>
<p>In some sense this is like all other software development.  But the important distinction here is that the cost of changes to web pages is very small compared with changes to shrink-wrapped or back-office software.  With the web it is possible to have extremely short release cycles and frequent design changes.  In fact, the general public has come to expect their web sites to be continually refined to make their experience more gratifying.</p>
<p>The problem with trying to apply TDD to this environment is that it reduces flexibility,  and thus makes the web site seem more clunky and less tailored to people&#8217;s needs.  This is certainly true on the ones I&#8217;ve been a part of, but it&#8217;s also pretty obvious when you come across it (anyone ever try QuickBooks Online?)</p>
]]></content:encoded>
	</item>
</channel>
</rss>

