In: Computer Science
What types of projects would be more suited for Black-Box testing compared to White-Box testing and vice versa?
When the project is in developing stage and each code segment or each unit of a system is completed, the developer or tester implements white box testing to check the correctness of the code and to ensure the internal functioning of the unit is working perfectly. The tester here knows the path of the logic, design and all other internal structure. This testing is carried out to test the functionality of design, code functionality, proper working of segment and is not concerned with behavioural of the system from end user perspective.
black box testing is performed on the project which are to be delivered to client for distribution to end users. It is carried out to check the complete behavioural characteristics and functionality of the project system after the project is in completion stage. The tester doesn't know anything related to design, path to logic and the tester performs this test using trial and error. For example, when a new update of an application is about to be released, the functionality of the behavioural of the added features is tested. This comes under white box testing.