White box testing

White box testing

:"Compare with black box testing".

White box testing (a.k.a. clear box testing, glass 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

ee also

* Black box testing
* Design predicates
* Software testing
* Boundary testing

External links

*BCS SIGIST (British Computer Society Specialist Interest Group in Software Testing): [http://www.testingstandards.co.uk/BS7925_3_4.zip "Standard for Software Component Testing"] , Working Draft 3.4, 27. April 2001.
* [http://www.buzzle.com/editorials/4-10-2005-68350.asp White Box Testing Strategy]
* [http://www.cse.fau.edu/~maria/COURSES/CEN4010-SE/C13/glass.htm Glass Box Testing by Crista Risley]
*http://agile.csc.ncsu.edu/SEMaterials/WhiteBox.pdf has more information on control flow testing and data flow testing.


Wikimedia Foundation. 2010.

Игры ⚽ Поможем написать курсовую

Look at other dictionaries:

  • White-box testing — (also known as clear box testing, glass box testing, transparent box testing, and structural testing) is a method of testing software that tests internal structures or workings of an application, as opposed to its functionality (i.e. black box… …   Wikipedia

  • white box testing — baltosios dėžės testavimas statusas T sritis informatika apibrėžtis Programinės įrangos ↑testavimo metodas, kai testuojama programa laikoma ↑baltąja dėže, remiamasi jos vidaus (kaip ji suprojektuota) žinojimu. atitikmenys: angl. white box testing …   Enciklopedinis kompiuterijos žodynas

  • white-box testing — noun The testing of the internal structure, rather than the functionality of a system …   Wiktionary

  • White box — can refer to:*White box (software engineering), a subsystem whose internals can be viewed. *White box testing, a specification conformance test. *White box (computer hardware), a personal computer assembled from off the shelf parts. *White Box… …   Wikipedia

  • White box (software engineering) — In software engineering white box[citation needed], in contrast to a black box, is a subsystem whose internals can be viewed, but usually cannot be altered. This is useful during white box testing, where a system is examined to make sure that it… …   Wikipedia

  • Black box testing — NOTOC Black box testing takes an external perspective of the test object to derive test cases. These tests can be functional or non functional, though usually functional. The test designer selects valid and invalid input and determines the… …   Wikipedia

  • White-Box-Test — Der Begriff White Box Test (auch Glass Box Test) bezeichnet eine Methode des Software Tests, bei der die Tests mit Kenntnissen über die innere Funktionsweise des zu testenden Systems entwickelt werden. Im Gegensatz zum Black Box Test ist für… …   Deutsch Wikipedia

  • White Box — Der Begriff White Box Test (auch Glass Box Test) bezeichnet eine Methode des Software Tests, bei der die Tests mit Kenntnissen über die innere Funktionsweise des zu testenden Systems entwickelt werden. Im Gegensatz zum Black Box Test ist für… …   Deutsch Wikipedia

  • Software testing — is an empirical investigation conducted to provide stakeholders with information about the quality of the product or service under test [ [http://www.kaner.com/pdfs/ETatQAI.pdf Exploratory Testing] , Cem Kaner, Florida Institute of Technology,… …   Wikipedia

  • Manual testing — Compare with Test automation. Manual testing is the process of manually testing software for defects. It requires a tester to play the role of an end user, and use most of all features of the application to ensure correct behavior. To ensure… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”