Question
Which testing type evaluates internal code logic and
control flow?Solution
White Box Testing , also known as glass box or transparent box testing, evaluates the internal structure, logic, and flow of code. Testers use knowledge of the internal architecture to design test cases, focusing on code coverage, control structures, and paths. Techniques such as statement coverage, branch coverage, and path coverage are commonly used. For example, a white box test might verify that a loop executes the expected number of times or that all branches of an if-else statement are tested. This method ensures robust code quality and early defect detection. Why Other Options Are Incorrect :
- Unit Testing : This focuses on testing individual components or modules, regardless of their internal code logic.
- Integration Testing : This evaluates how different modules interact, without detailed inspection of internal logic.
- Black Box Testing : This examines external functionality without insight into the internal code structure.
- User Acceptance Testing (UAT) : This validates the system against user requirements and does not involve code-level testing.
What is the primary aim of the PARTH Yojana launched in Madhya Pradesh?
What is the capital subsidy range under Gujarat's new textile policy, and what is the maximum eligible fixed capital investment cap for availing the sub...
Which country will hold the 20th G20 presidency in 2025?
Which element is often referred to as the "Stranger Gas"?
Which site was designated as India’s 13th UNESCO Biosphere Reserve in 2025?Â
Identify the bank for which Rama Mohan Rao Amara has been recommended as Managing Director by FSIB.
What significant change did the RBI introduce for UPI Lite transactions in December 2024?
Which organization partnered with IndusInd Bank to enhance Climate Risk Management and community resilience?
Goa’s 1930 cyber fraud response system now achieves what accessibility level?Â
What major innovation did Woolah Tea of Assam introduce, which earned a 20-year patent?Â