<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>thoughts from the test eye &#187; test case</title>
	<atom:link href="http://thetesteye.com/blog/tag/test-case/feed/" rel="self" type="application/rss+xml" />
	<link>http://thetesteye.com/blog</link>
	<description>by rikard edgren, henrik emilsson and martin jansson - with torbjörn ryber and henrik andersson</description>
	<lastBuildDate>Sun, 13 May 2012 17:27:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Review of properties in Kaner&#8217;s What is a Good Test Case?</title>
		<link>http://thetesteye.com/blog/2010/05/review-of-properties-in-kaners-what-is-a-good-test-case/</link>
		<comments>http://thetesteye.com/blog/2010/05/review-of-properties-in-kaners-what-is-a-good-test-case/#comments</comments>
		<pubDate>Wed, 19 May 2010 05:09:54 +0000</pubDate>
		<dc:creator>Rikard Edgren</dc:creator>
				<category><![CDATA[Documentation]]></category>
		<category><![CDATA[cem kaner]]></category>
		<category><![CDATA[serendipity]]></category>
		<category><![CDATA[test case]]></category>

		<guid isPermaLink="false">http://thetesteye.com/blog/?p=1106</guid>
		<description><![CDATA[<img src="http://thetesteye.com/blog/wp-content/uploads/documentation.png" width="48" height="48" alt="" title="Documentation" /><br/>One of Cem Kaner&#8217;s many classic writings is &#8220;What is a Good Test Case?&#8221; It is a very good article, well-spent time for anyone involved in software testing. But when writing about test ideas, I started to realize that the list of properties for good test cases isn&#8217;t perfect, for me. So it&#8217;s time for [...]]]></description>
			<content:encoded><![CDATA[<img src="http://thetesteye.com/blog/wp-content/uploads/documentation.png" width="48" height="48" alt="" title="Documentation" /><br/><p>One of Cem Kaner&#8217;s many classic writings is &#8220;<a href="http://www.kaner.com/pdfs/GoodTest.pdf">What is a Good Test Case?</a>&#8221;<br />
It is a very good article, well-spent time for anyone involved in software testing.<br />
But when writing about <a href="http://www.thetesteye.com/papers/redgren_moreandbettertestideas.pdf">test ideas</a>, I started to realize that the list of properties for good test cases isn&#8217;t perfect, for me.<br />
So it&#8217;s time for some criticism of this part of the professor&#8217;s article.</p>
<p>His list of attributes for good test cases (for the context &#8220;Tests Intended to Expose Defects&#8221;) goes something like this:</p>
<ul>
<li><strong>Powerful</strong> &#8211; a test is more powerful if it is more likely to find bugs</li>
<li><strong>Yield significant results</strong> &#8211; the issues found are important (to stakeholders)</li>
<li><strong>Credible</strong> &#8211; the actions in the test are realistic (not corner cases &#8220;noone woud do&#8221;)</li>
<li><strong>Likely</strong> &#8211; the test reflects how customers actually will be using the product</li>
<li><strong>Easier to evaluate</strong> &#8211; ease of telling if the test passed or failed</li>
<li><strong>Useful for troubleshooting</strong> &#8211; so it is easy to find out what went wrong during the test</li>
<li><strong>Informative</strong> &#8211; regardless of pass/fail status, you get valuable information from the test</li>
<li><strong>Appropriately complex</strong> &#8211; if there are many bugs in the software, the test might fail too quickly</li>
<li><strong>Giving insightful information</strong> &#8211; the test might not render bugs, but other important information</li>
</ul>
<p>Test cases can be seen as a broad spectra, from &#8220;classic&#8221; test cases with exact steps and expected results, to vague, one-liner test ideas (that also could be ongoing, unorthodox or unverifiable.)<br />
So I have to disagree with <strong>&#8220;Easier to evaluate&#8221;</strong>, it&#8217;s a valuable property in many situations, but not in so many that it should make it on this list. But it&#8217;s back on the list if it is named something like <strong>&#8220;Hints for Evaluation&#8221;</strong>.</p>
<p>But now to the most interesting part of reviewing: what&#8217;s missing on the list?<br />
There are many more things that could be important, a quick search gave: </p>
<ul>
<li>Ease of maintenance, Ease of creating variations of it (<a href="http://blogs.msdn.com/imtesty/archive/2006/09/15/756634.aspx">Shrini Kulkarni</a>)</li>
<li>Accurate, Economical, Reusable, Tracable, Self-cleaning (<a href="http://www.scribd.com/doc/5146592/hOW-TO-wRITE-gOOD-tEST-CASES">Dianne L. Runnels</a>)</li>
</ul>
<p>These are good things, but not needed on my list (and I&#8217;d prefer <strong>Fast to execute</strong> as name instead of Economical.)<br />
But I have two other things I would like to add</p>
<ul>
<li><strong>Easy to understand</strong> &#8211; to enable reviewing by different types of people (more likely to happen for one-liners)</li>
<li><strong>Enables serendipity</strong> &#8211; the test is rich in the sense it has possibilities of finding issues other than the ones the test case is aiming for</li>
</ul>
<p>The serendipity can either be covered inside the test case, or by allowing variations, or by putting freedom and responsibility on all testers to deviate and look at more things, if deemed worthwile, while executing the test cases.</p>
<p>…and always remember Kaner&#8217;s advice that “<em>Test cases can be “good” in a variety of ways. No test case will be good in all of them.</em>”</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fthetesteye.com%2Fblog%2F2010%2F05%2Freview-of-properties-in-kaners-what-is-a-good-test-case%2F&amp;title=Review%20of%20properties%20in%20Kaner%26%238217%3Bs%20What%20is%20a%20Good%20Test%20Case%3F" id="wpa2a_2"><img src="http://thetesteye.com/blog/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://thetesteye.com/blog/2010/05/review-of-properties-in-kaners-what-is-a-good-test-case/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>The Inquisitive Tester &#8211; Part I: Question the tests</title>
		<link>http://thetesteye.com/blog/2009/08/the-inquisitive-tester-part-i-question-the-tests/</link>
		<comments>http://thetesteye.com/blog/2009/08/the-inquisitive-tester-part-i-question-the-tests/#comments</comments>
		<pubDate>Mon, 24 Aug 2009 07:36:16 +0000</pubDate>
		<dc:creator>the test eye</dc:creator>
				<category><![CDATA[Ideas]]></category>
		<category><![CDATA[Skills]]></category>
		<category><![CDATA[critical thinking]]></category>
		<category><![CDATA[inquisitive]]></category>
		<category><![CDATA[questioning]]></category>
		<category><![CDATA[test case]]></category>
		<category><![CDATA[test ideas]]></category>
		<category><![CDATA[test planning]]></category>

		<guid isPermaLink="false">http://thetesteye.com/blog/?p=317</guid>
		<description><![CDATA[<img src="http://thetesteye.com/blog/wp-content/uploads/ideas.png" width="48" height="48" alt="" title="Ideas" /><img src="http://thetesteye.com/blog/wp-content/uploads/skills.png" width="48" height="48" alt="" title="Skills" /><br/>In order to become a successful inquisitive tester, there are a couple of things you can do to improve your skills beyond the more common quest to &#8220;question a product&#8221;. One important thing is to question the tests themselves. &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211; Have you ever run tests and wondered if they were really necessary, perhaps knowing that the tests [...]]]></description>
			<content:encoded><![CDATA[<img src="http://thetesteye.com/blog/wp-content/uploads/ideas.png" width="48" height="48" alt="" title="Ideas" /><img src="http://thetesteye.com/blog/wp-content/uploads/skills.png" width="48" height="48" alt="" title="Skills" /><br/><p>In order to become a successful inquisitive tester, there are a couple of things you can do to improve your skills beyond the more common quest to &#8220;question a product&#8221;. One important thing is to question the tests themselves.</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>Have you ever run tests and wondered if they were really necessary, perhaps knowing that the tests are useless?<br />
Have you ever run tests that were too old and not updated with latest terminology or functionality?<br />
Do your tests contain too much configuration information? Should this be put elsewhere?<br />
Have tests become redundant because those failures no longer happen, ever?<br />
Have the intent of the test been lost and therefore been rendered useless?<br />
Have the tests already been run, on the same build? Twice?<br />
Have you found any bugs or any important information at all with the tests?</p>
<p>Are your tests the most <a href="http://www.kaner.com/pdfs/GoodTest.pdf" target="_blank">powerful</a>?<br />
Are the tests credible?<br />
Can the tests be faster to execute?<br />
Can you run the most important tests first?<br />
Are the tests too narrow and/or too general?<br />
Do you really understand the test?<br />
Have the original test idea been lost in translation?<br />
Are the tests too much of a projection of the test designer&#8217;s thought of view?</p>
<p>Are your tests interesting or boring to execute?<br />
Are the tests in line with your test strategies?<br />
How often do you change your test approaches?<br />
Can the tests instead be better used as input to developers&#8217; unit tests?<br />
Can the essence of the tests be used elsewhere?<br />
Have your tests been reviewed by your colleagues, including technical writers?<br />
Have your scenario tests been reviewed by business people?<br />
Have you captured how the users will use the software in the tests?</p>
<p>Are you satisfied with your tests?<br />
Are your <a href="http://thetesteye.com/blog/2009/03/the-hidden-project-stakeholders/" target="_blank">(hidden) stakeholders</a> satisfied with your tests?</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>Can you come up with more questions?<br />
Regards,<br />
the test eye (Henrik, Martin &amp; Rikard)</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fthetesteye.com%2Fblog%2F2009%2F08%2Fthe-inquisitive-tester-part-i-question-the-tests%2F&amp;title=The%20Inquisitive%20Tester%20%26%238211%3B%20Part%20I%3A%20Question%20the%20tests" id="wpa2a_4"><img src="http://thetesteye.com/blog/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://thetesteye.com/blog/2009/08/the-inquisitive-tester-part-i-question-the-tests/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Testing Clichés Part I &#8211; Expected Results</title>
		<link>http://thetesteye.com/blog/2009/03/testing-cliches-part-i-expected-results/</link>
		<comments>http://thetesteye.com/blog/2009/03/testing-cliches-part-i-expected-results/#comments</comments>
		<pubDate>Mon, 23 Mar 2009 14:48:59 +0000</pubDate>
		<dc:creator>Rikard Edgren</dc:creator>
				<category><![CDATA[Documentation]]></category>
		<category><![CDATA[cliché]]></category>
		<category><![CDATA[scripted testing]]></category>
		<category><![CDATA[test case]]></category>
		<category><![CDATA[test ideas]]></category>
		<category><![CDATA[time]]></category>

		<guid isPermaLink="false">http://thetesteye.com/wordpress/?p=127</guid>
		<description><![CDATA[<img src="http://thetesteye.com/blog/wp-content/uploads/documentation.png" width="48" height="48" alt="" title="Documentation" /><br/>Sometimes it is said that each test case must have an expected result, or even worse, that each step of a test case must have an expected result. This is the extreme of scripted testing that I dislike for two reasons: * It takes a lot of time to write and follow detailed test cases; [...]]]></description>
			<content:encoded><![CDATA[<img src="http://thetesteye.com/blog/wp-content/uploads/documentation.png" width="48" height="48" alt="" title="Documentation" /><br/><p>Sometimes it is said that each test case must have an expected result, or even worse, that each step of a test case must have an expected result.<br />
This is the extreme of scripted testing that I dislike for two reasons:<br />
* It takes a lot of time to write and follow detailed test cases; time that is better spent testing things you haven&#8217;t had the time or enough information to thoroughly document.<br />
* It takes away the freedom of the tester to try things a bit different, so we will learn less, narrow our thinking, have less chance of finding new, interesting information, and it will be boring to test.</p>
<p>I understand that the reason for the details is that you want to be sure exactly what has been tested.<br />
But the problem with this reasoning is that in software testing, there are so many things that aren&#8217;t tested. You are not testing on the exact same data that your customers use, you are not testing on the exact same hardware and interacting software, and you are not testing in the exact same way as the customers will use your software.<br />
So we can be sure which tests have been run, but that doesn&#8217;t necesarily mean it will work for the customers.</p>
<p>This is an example where (Bad) Process is way too much more important than Content.</p>
<p>I prefer a lot of one-liner test ideas, that either can be used in vague test cases or as starting point for Exploratory testing.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fthetesteye.com%2Fblog%2F2009%2F03%2Ftesting-cliches-part-i-expected-results%2F&amp;title=Testing%20Clich%C3%A9s%20Part%20I%20%26%238211%3B%20Expected%20Results" id="wpa2a_6"><img src="http://thetesteye.com/blog/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://thetesteye.com/blog/2009/03/testing-cliches-part-i-expected-results/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

