This method of testing is used when the tester does not have knowledge on the interior working of the application which is to be tested. Here the tester does not have access to the source code. When performing a black-box test, a tester will interact with the system’s user interface by providing inputs and examining outputs without knowing how and where the inputs are worked upon.
Black box testing is performed by end-users and also by testers and developers. It is exhaustive and the least time-consuming. However it is not suited for algorithm testing. This can only be done by trial-and-error method.
- Black box testing is well suited and efficient for large code segments.
- Since the code access is not required it is easy to be done
- This method clearly separates user’s perspective from the developer’s perspective through visibly defined roles.
- Moderately skilled testers can test the application with no knowledge of implementation, programming language, or operating systems and can be done by a large number of testers.
However there are some disadvantages when using this method of testing.
- It covers a limited area by testing, since only a selected number of test scenarios is actually performed.
- This method is inefficient testing, due to the fact that the tester only has limited knowledge about an application.
- This method performs a blind coverage, since the tester cannot target specific code segments or error-prone areas.
- The test cases are difficult to design.
Next – White box testing
Previous – Software Testing Methods