The major techniques for performing gray box testing are matrix
testing, regression testing, pattern testing, and orthogonal array
Involves testing all the variables used in an application software
while coding. The technical risks related to the usage of each
variable in the code is identified. Every variable is then analyzed
based on the identified risks.
- “This technique discovers unused or
un-optimized variables in the program. Unused variables are
mostly eliminated from the code”.
In this technique, gray box tests are regularly executed after every
change or update made in the code to verify that previously created
and tested software still works as desired.
- “Ensures that a latest code change
or bug fix has not impacted any existing functionality of
Involves examining the previous version of the application software
in order to identify any patterns that caused defects. This helps in
revealing the elements that caused the defects and how the
irregularities were identified.
Orthogonal Array Testing:-
- “The design of gray box test cases
can be improved by using this information. This will prevent
the occurrence of similar bugs in later versions of the
application software under test”.
Preferred when maximum code coverage is required with very few test
cases and large test data in hand. Uses an organized statistical
method of performing tests. This is very helpful in testing complex