<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Various Thoughts about Software Testing : Terminology</title><link>http://blogs.technet.com/various_thoughts_about_software_testing/archive/tags/Terminology/default.aspx</link><description>Tags: Terminology</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Test vs. Test Case</title><link>http://blogs.technet.com/various_thoughts_about_software_testing/archive/2008/07/04/test-vs-test-case.aspx</link><pubDate>Fri, 04 Jul 2008 07:49:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3083400</guid><dc:creator>jacobb</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.technet.com/various_thoughts_about_software_testing/comments/3083400.aspx</comments><wfw:commentRss>http://blogs.technet.com/various_thoughts_about_software_testing/commentrss.aspx?PostID=3083400</wfw:commentRss><description>A common term in testing is test case. Unfortunately it doesn't have a single meaning. Instead it is viewed different depending on contest. 
&lt;P&gt;My definition is fairly simple. A test case is the minimum unit of execution which performs a test. A test is a group of one or more test cases (usually related test cases).&lt;/P&gt;
&lt;P&gt;For example, if I was testing the Win32 CreateFile API, a simple test case could be to open a file, then close the handle to the file after one minute. This is a complete test which exercises the desired component functionality. &lt;/P&gt;
&lt;P&gt;One might wonder about all those parameters that the CreateFile api has (see &lt;A href="http://msdn.microsoft.com/en-us/library/aa363858(VS.85).aspx"&gt;http://msdn.microsoft.com/en-us/library/aa363858(VS.85).aspx&lt;/A&gt; for full details on the API). One could vary the different &lt;I&gt;dwDesiredAccess&lt;/I&gt; flags on the api, testing each in turn. This is what I would refer to as a test variation. &lt;/P&gt;
&lt;P&gt;This gets into a bit of terminology variance. One possible viewpoint is to consider a test case a container object of test variations. Each test variation is executed, with the results being rolled up to the test case. In turn the test case would be contained within a test and would report its results back to the test to be aggregated.&lt;/P&gt;
&lt;P&gt;It is also possible to consider the test case to be more of a virtual concept. Instead of test variations reporting results back to a test case, the variations would report results directly back to a test. The test case would serve as a logical grouping of test variations.&lt;/P&gt;
&lt;P&gt;It is also possible to treat test variation and test case as synonyms. &lt;/P&gt;
&lt;P&gt;These viewpoints are all valid. The important thing is to stick with the same terminology as much as possible. I have found that different teams often use different meanings, which can create a lot of confusion when trying to aggregate the results of many different groups.&lt;/P&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3083400" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/various_thoughts_about_software_testing/archive/tags/Testing/default.aspx">Testing</category><category domain="http://blogs.technet.com/various_thoughts_about_software_testing/archive/tags/Terminology/default.aspx">Terminology</category></item></channel></rss>