Types of Software Testing & Techniques.
There are 3 types of Testing namely:
- Functional testing
- Non-Functional testing
- Regression/Maintenance testing
Functional testing verifies every function of the software while Non-functional testing verifies the non-functional aspects of the software like it’s reliability, security and performance. Regression testing on the other hand is done after we make changes to the code to check that the modified/new piece of code doesn’t effect the existing functionality of the product and works just fine without the update posing new bugs or threats.
We will go in depth about the individual tests in the next post. Until then, let’s get a brief idea about the testing techniques.
Software Testing Techniques
There are 3 testing techniques namely:
- Black-Box testing
- White-Box testing
- Grey-Box testing
Black Box Testing:
Also known as Behavioural testing. It is high level testing, that tests the functionality of the product. Here the tester has no idea about the internal structure of the software/product or about it’s source code. Now, you must be wondering then how is the tester going to test the product? Well, the answer is: the tester is told what is expected out of the product and how it’s supposed to work. Based on that information, the tester test’s the product by providing the required input. In simpler words it’s about the user’s experience.
Let’s say, a tester who has no knowledge about the internal structure of a website is about to test it’s working. The tester will be providing inputs(here clicks, keystrokes) to the website and verify the output against their expected outcomes.
White Box Testing:
Also known as Transparent testing/Glass testing/Open testing/Clear testing. Here, the tester knows the internal structure, source cod and implementation of the product. Most of the time the tester is also the developer of the product. With his programming know-how and by studying the implementation of the product the tester prepares a set of inputs to go through the different paths of the source code and determine its expected output.
Let’s say the tester prepares a set of valid and invalid inputs to compare it’s outcomes with the expected outcomes.
White Box testing is like the work of a doctor who has to examine the patient know the patient’s illness and treat him accordingly.
Grey Box Testing:
Also known as Translucent testing. This is a combination of partial White box and partial Black box testing. Here the tester has limited knowledge about the internal structure, implementation of the code and the product. It’s main goal is to find issues that occur due to incorrect internal structure/ incorrect usage of the product and to improve the product’s quality.
Let’s take an example, say a tester is testing a website and on clicking any link or button ends up with an error , now the grey box tester can analyse, explore the code and make the necessary changes to ensure he get’s the expected outcome.
Hope you understood the types and techniques of Software Testing :) . Do let me know your views.
Written by, R P Pavitra.