Site Announcements




Register and Login to Sanjaal Board to get access to exclusive contents including guitar tabs, high quality arts, glamor and photography pictures. New Users will be manually validated against spam database and potential advertisers. So this might cause your account activation to delay from a couple of days to few weeks. If you have Nepali/Indian/Pakistani/Bangladeshi names in your username, the user activation will be quicker. SPAMMERS WILL BE DELETED WITH NO MERCY

Software Testing Type - White Box Testing

Software Engineering Articles, Practices, Methodologies, Tools etc.

Software Testing Type - White Box Testing

Postby admin » Thu May 28, 2009 5:56 pm

White box testing (a.k.a. clear box testing, glass box testing, transparent box testing, translucent box testing or structural testing) uses an internal perspective of the system to design test cases based on internal structure. It requires programming skills to identify all paths through the software. The tester chooses test case inputs to exercise paths through the code and determines the appropriate outputs. In electrical hardware testing, every node in a circuit may be probed and measured; an example is in-circuit testing (ICT).

Since the tests are based on the actual implementation, if the implementation changes, the tests probably will need to change, too. For example ICT needs updates if component values change, and needs modified/new fixture if the circuit changes. This adds financial resistance to the change process, thus buggy products may stay buggy. Automated optical inspection (AOI) offers similar component level correctness checking without the cost of ICT fixtures, however changes still require test updates.

While white box testing is applicable at the unit, integration and system levels of the software testing process, it is typically applied to the unit. While it normally tests paths within a unit, it can also test paths between units during integration, and between subsystems during a system level test. Though this method of test design can uncover an overwhelming number of test cases, it might not detect unimplemented parts of the specification or missing requirements, but one can be sure that all paths through the test object are executed.

Typical white box test design techniques include:

* Control flow testing
* Data flow testing
* Branch Testing

The following types of white box testing exist:
--API testing (application programming interface) - Testing of the application using Public and Private APIs.
--Code coverage - creating tests to satisfy some criteria of code coverage. For example, the test designer can create tests to cause all statements in the program to be executed at least once.
--Fault injection methods.
--Mutation testing methods.
--Static testing - White box testing includes all static testing.


Source: http://en.wikipedia.org/wiki/White_box_testing
License:http://en.wikipedia.org/wiki/Wikipedia:Text_of_the_GNU_Free_Documentation_License

Sanjaal.com is owned and maintained by Sanjaal Corps, Nepal. The company offers Webhosting and Domain Registration Services, IT Solutions and Business Analysis. Sanjaal.com website features H1B Visa Information, Entertainment Portal, Link Directory Service, Free Articles, Free Open Source Tutorials on Java and J2EE Platform, Digital Photography, High Resolution Picture Gallery and Free Reliable Image Hosting Services. Future plan includes Open Source Software Development Portal, Technical Solutions and Customizable Movie and Music Arena. We would be introducing data backup, data recovery, data hosting and voip solutions. Stay free from phishing - our website does not ask for your credit card and banking information. Happy Surfing!
admin
The Bell Ringer
 
Posts: 826
Joined: Sun Feb 22, 2009 9:08 pm


Similar topics


Return to Software Engineering

Who is online

Users browsing this forum: No registered users and 1 guest

cron