---
title: "Why is white box testing called as glass box testing?"  
description: "Why is white box testing called as glass box testing?"  
author: "Anonymous User"  
published: 2012-11-17  
updated: 2012-11-19  
canonical: https://www.mindstick.com/forum/471/why-is-white-box-testing-called-as-glass-box-testing  
category: "whitebox testing"  
tags: ["whitebox testing"]  
reading_time: 1 minute  

---

# Why is white box testing called as glass box testing?

hi every one\
plase tell me why is [white box testing](https://www.mindstick.com/forum/157698/what-are-white-box-testing-and-black-box-testing-explain-with-examples) [called as](https://answers.mindstick.com/qa/34029/which-sportswoman-is-called-as-payyoli-express) [glass box](https://answers.mindstick.com/qa/31595/what-is-glass-box-testing) testing?\
\
thanks\

## Replies

### Reply by AVADHESH PATEL

hi jayprakash,\
\
reason are given below, why is white box [testing](https://www.mindstick.com/articles/1849/role-of-testing-in-software-development) called as glass box testing\
\
Everything is visible inside a glass box. When you perform white box testing, you can see the code and test it. But in black box testing the tester does not know what is happening inside the code when he is giving a particular input. He only sees the output, but does not get to know how that output has come. In white box testing the tester can know what exactly is happening inside the code and why a particular output is coming for a particular input. That's why it is called Glass box testing.


---

Original Source: https://www.mindstick.com/forum/471/why-is-white-box-testing-called-as-glass-box-testing

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
