<?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: It&#8217;s not all about the acceptance tests</title>
	<atom:link href="http://www.markhneedham.com/blog/2008/10/03/its-not-all-about-the-acceptance-tests/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.markhneedham.com/blog/2008/10/03/its-not-all-about-the-acceptance-tests/</link>
	<description>Thoughts on Software Development</description>
	<lastBuildDate>Sat, 11 Feb 2012 23:17:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Dan Yankowsky</title>
		<link>http://www.markhneedham.com/blog/2008/10/03/its-not-all-about-the-acceptance-tests/comment-page-1/#comment-873</link>
		<dc:creator>Dan Yankowsky</dc:creator>
		<pubDate>Thu, 23 Oct 2008 04:35:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.markhneedham.com/blog/?p=423#comment-873</guid>
		<description>To answer the question that you asked at the end of your post, no, I don&#039;t think that acceptance tests must go through the UI. I think that acceptance tests should be as small as possible to reflect the acceptance criteria. That criteria of smallness applies both to the length of the test as well as the conceptual size of the test. A test that includes the whole application stack, from database through UI, is larger than a test of just some middle part.

Some acceptance criteria are going to be UI-oriented. The tests for these criteria should likely include the UI. On the other hand, some criteria may not mention anything about a UI. For example, banking software will include a lot of backend computation that, while not directly visible in the UI, is still of great interest to the stakeholders. Why not write acceptance tests of this intermediate code?

There doesn&#039;t appear (to me) to be a silver bullet to handle all acceptance testing cases. The best we have right now are guiding principles, and I don&#039;t think there&#039;s much common understanding yet on what those should be. For me, the guiding star is that I should be able to show acceptance tests to the person who wrote the story (or to a QA specialist, or to some other non-developer), and it shouldn&#039;t be totally alien to them. Together, we should be able to make sense of the acceptance test, and they should be able to actually see any parts of the test that are wrong. Maybe they can&#039;t write the test by themselves, and maybe they can&#039;t read it on their own, but if I don&#039;t feel like I can work through the acceptance test with the person who will be accepting the story, what&#039;s the point of the test?</description>
		<content:encoded><![CDATA[<p>To answer the question that you asked at the end of your post, no, I don&#8217;t think that acceptance tests must go through the UI. I think that acceptance tests should be as small as possible to reflect the acceptance criteria. That criteria of smallness applies both to the length of the test as well as the conceptual size of the test. A test that includes the whole application stack, from database through UI, is larger than a test of just some middle part.</p>
<p>Some acceptance criteria are going to be UI-oriented. The tests for these criteria should likely include the UI. On the other hand, some criteria may not mention anything about a UI. For example, banking software will include a lot of backend computation that, while not directly visible in the UI, is still of great interest to the stakeholders. Why not write acceptance tests of this intermediate code?</p>
<p>There doesn&#8217;t appear (to me) to be a silver bullet to handle all acceptance testing cases. The best we have right now are guiding principles, and I don&#8217;t think there&#8217;s much common understanding yet on what those should be. For me, the guiding star is that I should be able to show acceptance tests to the person who wrote the story (or to a QA specialist, or to some other non-developer), and it shouldn&#8217;t be totally alien to them. Together, we should be able to make sense of the acceptance test, and they should be able to actually see any parts of the test that are wrong. Maybe they can&#8217;t write the test by themselves, and maybe they can&#8217;t read it on their own, but if I don&#8217;t feel like I can work through the acceptance test with the person who will be accepting the story, what&#8217;s the point of the test?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

