What's the difference between black box and white box testing?


Black-box and white-box are test design methods.

Black-box test design treats the system as a “black-box”, so it doesn't explicitly use knowledge of the internal structure.

Black-box test design is usually described as focusing on testing functional requirements. Synonyms for black-box include: behavioral, functional, opaque-box, and closed-box.

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.

✍: Guest


2022-01-26, 599👍, 0💬