<?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>ansiko® &#187; Testing</title>
	<atom:link href="http://www.ansiko.com/category/testing/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ansiko.com</link>
	<description>software design &#38; development</description>
	<lastBuildDate>Sat, 21 Nov 2009 23:02:46 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Software Testing</title>
		<link>http://www.ansiko.com/2009/11/software-testing/</link>
		<comments>http://www.ansiko.com/2009/11/software-testing/#comments</comments>
		<pubDate>Thu, 19 Nov 2009 23:29:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Testing]]></category>

		<guid isPermaLink="false">http://www.ansiko.com/?p=172</guid>
		<description><![CDATA[Software testing is an empirical investigation conducted to provide stakeholders with information about the quality of the product or service under test, with respect to the context in which it is intended to operate. Software Testing also provides an objective, independent view of the software to allow the business to appreciate and understand the risks [...]]]></description>
			<content:encoded><![CDATA[<h3>Software testing is an empirical investigation conducted to provide stakeholders with information about the quality of the product or service under test, with respect to the context in which it is intended to operate. Software Testing also provides an objective, independent view of the software to allow the business to appreciate and understand the risks at implementation of the software. Test techniques include, but are not limited to, the process of executing a program or application with the intent of finding software bugs.</h3>
<p>Software Testing can also be stated as the process of validating and verifying that a software program/application/product:</p>
<ol>
<li>meets the business and technical requirements that guided its design and development;</li>
<li>works as expected; and</li>
<li>can be implemented with the same characteristics.</li>
</ol>
<p>Software Testing, depending on the testing method employed, can be implemented at any time in the development process. However, most of the test effort occurs after the requirements have been defined and the coding process has been completed. As such, the methodology of the test is governed by the Software Development methodology adopted.</p>
<p><span id="more-172"></span></p>
<p>Different software development models will focus the test effort at different points in the development process. In a more traditional model, most of the test effort occurs after the requirements have been defined and the coding process has been completed. Newer development models, such as Agile or XP, often employ test driven development and place an increased portion of the testing up front in the development process, in the hands of the developer.</p>
<h3>This article is licensed under the GNU Free Documentation License. It uses material from the Wikipedia article “Software testing”.</h3>
]]></content:encoded>
			<wfw:commentRss>http://www.ansiko.com/2009/11/software-testing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Testing Methods</title>
		<link>http://www.ansiko.com/2009/09/testing-methods/</link>
		<comments>http://www.ansiko.com/2009/09/testing-methods/#comments</comments>
		<pubDate>Sat, 19 Sep 2009 23:44:34 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Testing]]></category>

		<guid isPermaLink="false">http://www.ansiko.com/?p=180</guid>
		<description><![CDATA[Software testing methods are traditionally divided into black box testing and white box testing. These two approaches are used to describe the point of view that a test engineer takes when designing test cases.
Black box testing
Black box testing treats the software as a &#8220;black box&#8221;—without any knowledge of internal implementation. Black box testing methods include: [...]]]></description>
			<content:encoded><![CDATA[<h3>Software testing methods are traditionally divided into black box testing and white box testing. These two approaches are used to describe the point of view that a test engineer takes when designing test cases.</h3>
<h2>Black box testing</h2>
<p>Black box testing treats the software as a &#8220;black box&#8221;—without any knowledge of internal implementation. Black box testing methods include: equivalence partitioning, boundary value analysis, all-pairs testing, fuzz testing, model-based testing, traceability matrix, exploratory testing and specification-based testing.</p>
<p><span id="more-180"></span></p>
<p>Specification-based testing: Specification-based testing aims to test the functionality of software according to the applicable requirements. Thus, the tester inputs data into, and only sees the output from, the test object. This level of testing usually requires thorough test cases to be provided to the tester, who then can simply verify that for a given input, the output value (or behavior), either &#8220;is&#8221; or &#8220;is not&#8221; the same as the expected value specified in the test case.</p>
<p>Specification-based testing is necessary, but it is insufficient to guard against certain risks.</p>
<p>Advantages and disadvantages: The black box tester has no &#8220;bonds&#8221; with the code, and a tester&#8217;s perception is very simple: a code must have bugs. Using the principle, &#8220;Ask and you shall receive,&#8221; black box testers find bugs where programmers do not. But, on the other hand, black box testing has been said to be &#8220;like a walk in a dark labyrinth without a flashlight,&#8221; because the tester doesn&#8217;t know how the software being tested was actually constructed. As a result, there are situations when (1) a tester writes many test cases to check something that could have been tested by only one test case, and/or (2) some parts of the back-end are not tested at all.</p>
<p>Therefore, black box testing has the advantage of &#8220;an unaffiliated opinion,&#8221; on the one hand, and the disadvantage of &#8220;blind exploring,&#8221; on the other.</p>
<h2>White box testing</h2>
<p>White box testing is when the tester has access to the internal data structures and algorithms including the code that implement these.</p>
<h3>Types of white box testing</h3>
<p>The following types of white box testing exist:</p>
<ol>
<li>API testing (application programming interface) &#8211; Testing of the application using Public and Private APIs</li>
<li>Code coverage &#8211; creating tests to satisfy some criteria of code coverage (e.g., the test designer can create tests to cause all statements in the program to be executed at least once)</li>
<li>Fault injection methods &#8211; improving the coverage of a test by introducing faults to test code paths</li>
<li>Mutation testing methods</li>
<li>Static testing &#8211; White box testing includes all static testing</li>
</ol>
<h3>Test coverage</h3>
<p>White box testing methods can also be used to evaluate the completeness of a test suite that was created with black box testing methods. This allows the software team to examine parts of a system that are rarely tested and ensures that the most important function points have been tested.</p>
<p>Two common forms of code coverage are:</p>
<ol>
<li>Function coverage, which reports on functions executed</li>
<li>Statement coverage, which reports on the number of lines executed to complete the test</li>
</ol>
<p>They both return a code coverage metric, measured as a percentage.</p>
<h2>Grey Box Testing</h2>
<p>Grey box testing involves having access to internal data structures and algorithms for purposes of designing the test cases, but testing at the user, or black-box level. Manipulating input data and formatting output do not qualify as grey box, because the input and output are clearly outside of the &#8220;black-box&#8221; that we are calling the system under test. This distinction is particularly important when conducting integration testing between two modules of code written by two different developers, where only the interfaces are exposed for test. However, modifying a data repository does qualify as grey box, as the user would not normally be able to change the data outside of the system under test. Grey box testing may also include reverse engineering to determine, for instance, boundary values or error messages. </p>
<h3>This article is licensed under the GNU Free Documentation License. It uses material from the Wikipedia article “Software testing”.</h3>
]]></content:encoded>
			<wfw:commentRss>http://www.ansiko.com/2009/09/testing-methods/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Software Testing Topics</title>
		<link>http://www.ansiko.com/2009/06/software-testing-topics/</link>
		<comments>http://www.ansiko.com/2009/06/software-testing-topics/#comments</comments>
		<pubDate>Fri, 19 Jun 2009 23:35:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Testing]]></category>

		<guid isPermaLink="false">http://www.ansiko.com/?p=176</guid>
		<description><![CDATA[Testing can never completely identify all the defects within software. Instead, it furnishes a criticism or comparison that compares the state and behavior of the product against oracles—principles or mechanisms by which someone might recognize a problem. These oracles may include (but are not limited to) specifications, contracts, comparable products, past versions of the same [...]]]></description>
			<content:encoded><![CDATA[<h3>Testing can never completely identify all the defects within software. Instead, it furnishes a criticism or comparison that compares the state and behavior of the product against oracles—principles or mechanisms by which someone might recognize a problem. These oracles may include (but are not limited to) specifications, contracts, comparable products, past versions of the same product, inferences about intended or expected purpose, user or customer expectations, relevant standards, applicable laws, or other criteria.</h3>
<p>Every software product has a target audience. For example, the audience for video game software is completely different from banking software. Therefore, when an organization develops or otherwise invests in a software product, it can assess whether the software product will be acceptable to its end users, its target audience, its purchasers, and other stakeholders. Software testing is the process of attempting to make this assessment.</p>
<p>A study conducted by NIST in 2002 reports that software bugs cost the U.S. economy $59.5 billion annually. More than a third of this cost could be avoided if better software testing was performed.</p>
<p><span id="more-176"></span></p>
<h2>Scope</h2>
<p>A primary purpose for testing is to detect software failures so that defects may be uncovered and corrected. This is a non-trivial pursuit. Testing cannot establish that a product functions properly under all conditions but can only establish that it does not function properly under specific conditions.[12] The scope of software testing often includes examination of code as well as execution of that code in various environments and conditions as well as examining the aspects of code: does it do what it is supposed to do and do what it needs to do. In the current culture of software development, a testing organization may be separate from the development team. There are various roles for testing team members. Information derived from software testing may be used to correct the process by which software is developed.</p>
<h2>Functional vs non-functional testing</h2>
<p>Functional testing refers to tests that verify a specific action or function of the code. These are usually found in the code requirements documentation, although some development methodologies work from use cases or user stories. Functional tests tend to answer the question of &#8220;can the user do this&#8221; or &#8220;does this particular feature work&#8221;.</p>
<p>Non-functional testing refers to aspects of the software that may not be related to a specific function or user action, such as scalability or security. Non-functional testing tends to answer such questions as &#8220;how many people can log in at once&#8221;, or &#8220;how easy is it to hack this software&#8221;.</p>
<h2>Defects and failures</h2>
<p>Not all software defects are caused by coding errors. One common source of expensive defects is caused by requirement gaps, e.g., unrecognized requirements, that result in errors of omission by the program designer. A common source of requirements gaps is non-functional requirements such as testability, scalability, maintainability, usability, performance, and security.</p>
<p>Software faults occur through the following processes. A programmer makes an error (mistake), which results in a defect (fault, bug) in the software source code. If this defect is executed, in certain situations the system will produce wrong results, causing a failure. Not all defects will necessarily result in failures. For example, defects in dead code will never result in failures. A defect can turn into a failure when the environment is changed. Examples of these changes in environment include the software being run on a new hardware platform, alterations in source data or interacting with different software. A single defect may result in a wide range of failure symptoms.</p>
<h2>Compatibility</h2>
<p>A frequent cause of software failure is compatibility with another application, a new operating system, or, increasingly, web browser version. In the case of lack of backward compatibility, this can occur (for example&#8230;) because the programmers have only considered coding their programs for, or testing the software upon, &#8220;the latest version of&#8221; this-or-that operating system. The unintended consequence of this fact is that: their latest work might not be fully compatible with earlier mixtures of software/hardware, or it might not be fully compatible with another important operating system. In any case, these differences, whatever they might be, may have resulted in (unintended&#8230;) software failures, as witnessed by some significant population of computer users.</p>
<p>This could be considered a &#8220;prevention oriented strategy&#8221; that fits well with the latest testing phase suggested by Dave Gelperin and William C. Hetzel, as cited below .</p>
<h2>Input combinations and preconditions</h2>
<p>A very fundamental problem with software testing is that testing under all combinations of inputs and preconditions (initial state) is not feasible, even with a simple product.[12][18] This means that the number of defects in a software product can be very large and defects that occur infrequently are difficult to find in testing. More significantly, non-functional dimensions of quality (how it is supposed to be versus what it is supposed to do)—usability, scalability, performance, compatibility, reliability—can be highly subjective; something that constitutes sufficient value to one person may be intolerable to another.</p>
<h2>Static vs. dynamic testing</h2>
<p>There are many approaches to software testing. Reviews, walkthroughs, or inspections are considered as static testing, whereas actually executing programmed code with a given set of test cases is referred to as dynamic testing. Static testing can be (and unfortunately in practice often is) omitted. Dynamic testing takes place when the program itself is used for the first time (which is generally considered the beginning of the testing stage). Dynamic testing may begin before the program is 100% complete in order to test particular sections of code (modules or discrete functions). Typical techniques for this are either using stubs/drivers or execution from a debugger environment. For example, Spreadsheet programs are, by their very nature, tested to a large extent interactively (&#8221;on the fly&#8221;), with results displayed immediately after each calculation or text manipulation.</p>
<h3>This article is licensed under the GNU Free Documentation License. It uses material from the Wikipedia article “Software testing”.</h3>
<h3>This article is licensed under the GNU Free Documentation License. It uses material from the Wikipedia article “Software testing”.</h3>
]]></content:encoded>
			<wfw:commentRss>http://www.ansiko.com/2009/06/software-testing-topics/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
