What is white box testing

Hello everyone, I am new to the field of software testing. Can anyone tell me what is white box testing? And how is it different from Black Box testing and the other types?

Replies

  • Kaustubh Katdare
    Kaustubh Katdare
    vipulb
    Can anyone tell me what is white box testing
    Good question. Here we go -

    In layman's language, its about verifying the actual code. White box testing is also known as 'Glass box testing', because in white box testing, the software test engineer is expected to look behind the front end screens, i.e. the code.

    Normally, the white box testing is performed by the software developers. However, if the testing engineers have the knowledge of the programming language in which the software has been developed, they can do the white box testing. White box testing is typically used in unit and integration testing.

    Do read a good post on White box testing here -

    #-Link-Snipped-#
  • viiper
    viiper
    White-box test design allows one to peek inside the "box", and it focuses specifically on using internal knowledge of the software to guide the selection of test data. Synonyms for white-box include: structural, glass-box and clear-box.
  • friendster7
    friendster7
    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 #-Link-Snipped-# (ICT).
    Since the tests are based on the actual implementation, if the implementation changes, the tests probably will need to also. 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 - Wikipedia (AOI) offers similar component level correctness checking without the cost of ICT fixtures, however changes still require test updates.


    #-Link-Snipped-#
    While white box testing is applicable at the Unit testing - Wikipedia, Integration testing - Wikipedia and System testing - Wikipedia levels of the Software testing - Wikipedia 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 - Wikipediatesting
    Data flow testing

    source:wikipedia

    do check this out too..

    #-Link-Snipped-#

You are reading an archived discussion.

Related Posts

i have a laptop with 965GM intel chipset with 667MHz 1gb ram and also T7100 Intel C2D proccesor but i have certain isuues installing i386 OS versions of Linux like...
i have to multiply 2 n*m matrices using pointers and the most optimal solution is expected.
Can anyone plz direct me what to concentrate on if i wanna take up quantum physics as a foundation for quantum computing. I love physics n this IT stream has...
Okay, The opening lines of a famous book have been decoded here. Use your logic and stay away from the Google. Tell me what's written below - B dj blrtquctek...
I found an interesting site over here. I guess those of us who have all the free time, can crack this puzzle together. There are multiple levels. So let's get...