Black box/ white box/ gray box testing simple explanation
If you want to know approaches to testing software depending on access to source code, than you’re in the right place. Were going to give a simple explanation on black box testing, white box testing and gray box testing.
Black box testing — this is when you don’t have access to source code and using only user interface.
White box testing — you have access to source code and you can understand how it works.
Grey box testing — is a testing when you have a partial access to source code. For example you have access to database (MySQL) but don’t have access to source code.
Some visualisation of what we have just explained is shown bellow.