At what levels can white-box testing be applied?

Study for the EC-Council Certified Ethical Hacker (CEH) v13 Exam. Utilize flashcards and multiple-choice questions with helpful hints and detailed explanations. Excel in your exam preparation!

Multiple Choice

At what levels can white-box testing be applied?

Explanation:
White-box testing uses knowledge of the internal code and logic to verify correctness at different levels of granularity. It can be applied at unit, integration, and system levels. In unit testing you target individual components or functions, exercising internal branches and paths to ensure each piece behaves correctly in isolation. In integration testing you examine how modules interact, focusing on interfaces and data flow between components, still leveraging knowledge of internal structures to validate correct cooperation. In system testing you verify the whole, integrated product, and white-box insight helps check how internal components drive overall behavior and meet requirements. Acceptance testing is typically black-box, looking from the user perspective without internal details. Performance testing focuses on speed and efficiency and isn’t a separate white-box level, and design, development, and deployment are phases, not testing levels.

White-box testing uses knowledge of the internal code and logic to verify correctness at different levels of granularity. It can be applied at unit, integration, and system levels.

In unit testing you target individual components or functions, exercising internal branches and paths to ensure each piece behaves correctly in isolation. In integration testing you examine how modules interact, focusing on interfaces and data flow between components, still leveraging knowledge of internal structures to validate correct cooperation. In system testing you verify the whole, integrated product, and white-box insight helps check how internal components drive overall behavior and meet requirements.

Acceptance testing is typically black-box, looking from the user perspective without internal details. Performance testing focuses on speed and efficiency and isn’t a separate white-box level, and design, development, and deployment are phases, not testing levels.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy