<?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>Software design and embedded system tools. &#187; black box</title>
	<atom:link href="http://embedsoftdev.com/tag/black-box/feed/" rel="self" type="application/rss+xml" />
	<link>http://embedsoftdev.com</link>
	<description>Good information for software design</description>
	<lastBuildDate>Fri, 27 Aug 2010 22:53:53 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Software testing part II (White Box and Black Box testing)</title>
		<link>http://embedsoftdev.com/software-engineering/software-testing-ii-white-box-and-black-box-testing/</link>
		<comments>http://embedsoftdev.com/software-engineering/software-testing-ii-white-box-and-black-box-testing/#comments</comments>
		<pubDate>Wed, 19 Aug 2009 16:16:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Software Engineering]]></category>
		<category><![CDATA[black box]]></category>
		<category><![CDATA[black box testing]]></category>
		<category><![CDATA[white box]]></category>
		<category><![CDATA[white box testing]]></category>
		<guid isPermaLink="false">http://embedsoftdev.com/?p=115</guid>
		<description><![CDATA[White Box testing Another name of White box testing is Glass-Box testing or Structural Testing. It is the test in the system.The tester have to specify the test case that will be used for test the system.They must have an ability in programming and well understand in software testing theory.Their task it to assign the [...]
Related posts:<ol><li><a href='http://embedsoftdev.com/software-engineering/software-testing-part-i/' rel='bookmark' title='Permanent Link: Software testing part I.'>Software testing part I.</a></li>
<li><a href='http://embedsoftdev.com/software-engineering/how-to-do-white-box-testing/' rel='bookmark' title='Permanent Link: How to do white box testing'>How to do white box testing</a></li>
<li><a href='http://embedsoftdev.com/software-engineering/user-acceptance-test/' rel='bookmark' title='Permanent Link: User Acceptance Testing.'>User Acceptance Testing.</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><strong>White Box testing</strong><br />
             Another name of White box testing is Glass-Box testing or Structural Testing.<br />
It is the test in the system.The tester have to specify the test case that will be used<br />
for test the system.They must have an ability in programming  and well understand in<br />
software testing theory.Their task it to assign the test case to every line, every<br />
statement or every path of the program being tested. You can compare white box<br />
testing with the measurement of electronics circuit (In measurement of electronics<br />
circuit,you have to measure the electric current and voltage in every node existing<br />
in your circuit).</p>
<p>               White box testing can be applied for testing in Unit testing,Integration testing<br />
or System testing but in commonly the tester apply White box testing in Unit testing phase<br />
of software development.</p>
<p><strong>The advantage of White box testing.</strong><br />
1.The process of White box testing can increase te quality of source code and can make<br />
the pieces of source code work more efficiency because it is the testing in the system<br />
(In the function and in every branches of the code)</p>
<p>2.In White box testing we can look for an error by give an input to the system and monitor<br />
the output from the system.Otherwise it also can look for the internal error that existing<br />
in the mentioned system too.</p>
<p><strong>The disadvantage of White box testing.</strong><br />
1.This kind of testing require high skill in software coding to assure the high-quality of<br />
source code.</p>
<p><strong>Black Box testing.</strong><br />
               Another name of Black-Box testing is Functional Testing.It is the testing<br />
that disregard internal mechanism of the system (don&#8217;t test the internal component<br />
of the system such as source code or function).This testing method is focus on the<br />
output that come out from the system after we sent the input to it (Output that<br />
come out after the system responded to the input data).</p>
<p>      In Black-Box Testing, the tester will not look for the code to test, so the code<br />
is considered to be &#8220;Black Box&#8221; that we can&#8217;t see the content inside the box.The<br />
tester know only they must send the input to the &#8220;Black Box&#8221; and then it will release<br />
the output to the tester.</p>
<p>      The tester usually use the requirement specification document (Requirement<br />
Knowledge) to build the test case, so they know what is the outcome that the system<br />
will send after they send the corresponding input to it. </p>
<p>      <strong>Now I can summarize the black box testing as follow&#8230;</strong><br />
      &#8211; It is the testing that disregard the source code or command<br />
in the program.<br />
      &#8211; It is testing of function of system base on the requirement documents.<br />
      &#8211; The tester must assume for output that will come out from the system<br />
after sending the various input pattern to the system (The output must match up with<br />
the input).</p>
<p><strong>Now I can summarize White Box Testing as follow&#8230;</strong><br />
        -It is the testing that examine the structure or the work-flow of the program .<br />
        -The tester must build the specific test case used for testing in each specific condition.<br />
        -The test case must contain the case that can be executed normally and abnormally.<br />
        -Try to execute every statement in the function at least 1 time.</p>
<p><img src="http://embedsoftdev.com/wp-content/uploads/2009/08/White-Box-Close-300x231.jpg" alt="software engineering Software testing part II (White Box and Black Box testing)" title="White-Box-Close" width="300" height="231" class="aligncenter size-medium wp-image-116" /></p>
<p><img src="http://embedsoftdev.com/wp-content/uploads/2009/08/272176745_09c599366a-300x267.jpg" alt="software engineering Software testing part II (White Box and Black Box testing)" title="272176745_09c599366a" width="300" height="267" class="aligncenter size-medium wp-image-121" /></p>
<p>In the next article I will write about <strong>Test first method </strong>(Software testing part III).<br />
You can see more information about Black box and White box testing at these websites below<br />
1.<a rel="nofollow" target="_blank" href="http://www.softwaretestingfundamentals.com/">Software Testing Fundamentals</a><br />
2.<a rel="nofollow" target="_blank" href="http://www.pjcj.net/yapc/npw-2008-testing_and_code_coverage/slides/">Testing and Code Coverage</a></p>
<p>Reference site: <a rel="nofollow" target="_blank" href="http://lenovoblogs.com/designmatters/?p=72">lenovoblogs</a></p>
<p>Thank you,<br />
        Jitkasem Pintaya.</p>
<h4>Incoming search terms for the article:</h4><ul><li><a href="http://embedsoftdev.com/software-engineering/software-testing-ii-white-box-and-black-box-testing/" title="white box testing in software testing">white box testing in software testing</a></li></ul><!-- SEO SearchTerms Tagging 2 plugin took 0.883 ms -->
<p>Related posts:<ol><li><a href='http://embedsoftdev.com/software-engineering/software-testing-part-i/' rel='bookmark' title='Permanent Link: Software testing part I.'>Software testing part I.</a></li>
<li><a href='http://embedsoftdev.com/software-engineering/how-to-do-white-box-testing/' rel='bookmark' title='Permanent Link: How to do white box testing'>How to do white box testing</a></li>
<li><a href='http://embedsoftdev.com/software-engineering/user-acceptance-test/' rel='bookmark' title='Permanent Link: User Acceptance Testing.'>User Acceptance Testing.</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://embedsoftdev.com/software-engineering/software-testing-ii-white-box-and-black-box-testing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
