What is the other name of White-box testing?
Glass-box testing
Software testing is a crucial phase in the software development life cycle. It helps in identifying defects, errors, or bugs in a software application. Testing can be broadly categorized based on whether the internal structure and logic of the application are known to the tester or not.
One of the fundamental types of testing is White-box testing. This testing method is performed by testers with knowledge of the internal structure, design, and implementation of the software. It involves analyzing the code, internal logic, and pathways within the application. The goal is to test the internal workings rather than just the end-user functionality.
Because White-box testing involves looking inside the software's code and structure, it has earned several other names that reflect this characteristic. These names often use metaphors related to visibility or transparency.
Let's look at the options provided and see which one is a valid alternative name for White-box testing:
Based on the common terminology in software testing, both 'Glass-box testing' and 'Open-box testing' are alternative names for White-box testing. Among the given options, 'Glass-box testing' is the most standard and frequently used alternative name.
White-box testing, which examines the internal structure and logic of software, is known by several names emphasizing the visibility of the system's internals. Among the options provided, Glass-box testing is a widely recognized alternative name for White-box testing.
| Testing Type | Description | Visibility of Internal Structure | Alternative Names |
|---|---|---|---|
| White-box Testing | Tests the internal structure, design, and coding of the software. | Known (Transparent) | Glass-box, Clear-box, Open-box, Structural, Code-based testing |
| Black-box Testing | Tests the functionality of the software without knowing the internal code structure. Focuses on inputs and outputs. | Unknown (Opaque) | Functional testing, Behavioral testing, Closed-box testing |
| Grey-box Testing | A combination of White-box and Black-box testing. The tester has partial knowledge of the internal structure. | Partial | Translucent-box testing |
White-box testing utilizes various techniques to ensure thorough coverage of the code. Some common techniques include:
These techniques help testers systematically analyze the code and uncover potential bugs related to implementation logic, code paths, and data handling.
Equivalence partitioning is a ______.
Good design dictates that error conditions be anticipated and error-handling paths set up to reroute or clearly terminate processing when an error does occur. This approach is called ________.