Difference between Black Box and White Box Testing | Software Engineering

Download our Android App from Google Play Store and start reading Reference Notes Offline.

difference between black box and white box testingDifference between Black Box and White Box Testing,
Software Engineering Notes | Sixth Semester,
BSc.CSIT | Tribhuvan University (TU)

Difference between Black Box and White Box Testing
Black box testing is a type of testing system software in which tester may be end user or official tester who is totally unknown about the internal design/development of the system while white box testing is a type of testing system software in which tester is totally known about the internal design/development of the system.

Black Box Testing White Box Testing
Black Box Testing is a software testing method in which the internal structure/design/implementation of the system being tested is not known to the tester. White Box Testing is a software testing method in which the internal structure/design/implementation of the system being tested is known to the tester.
Mainly applicable to higher levels of testing: Acceptance Testing, System Testing. Mainly applicable to lower levels of testing: Unit Testing, Integration Testing.
Black box testers are generally, independent Software Testers. White box testers are generally, Software Developers.
Programming knowledge not required. Programming knowledge required.
Implementation knowledge not required. Implementation knowledge required.
Test Cases are made on the basis of requirement specifications. Test Cases are made on the basis of Detail Design.

Black-box testing
This approach tests all possible combinations of end-user actions. Black box testing assumes no knowledge of code and is intended to simulate the end-user experience. You can use sample applications to integrate and test the application block for black box testing. You can begin planning for black box testing immediately after the requirements and the functional specifications are available.

  • An approach to testing where the program is considered as a ‘black-box’.
  • The program test cases are based on the system specification.
  • Test planning can begin early in the software process.

Black box testing is testing that ignores the internal mechanism of a system or component and focuses solely on the outputs generated in response to selected inputs and execution conditions.

White-box testing
White box testing is also known as glass box, clear box, and open box testing. In white box testing, you create test cases by looking at the code to detect any potential failure scenarios. You determine the suitable input data for testing various APIs and the special code paths that need to be tested by analyzing the source code for the application block. Therefore, the test plans need to be updated before starting white box testing and only after a stable build of the code is available.

(Visited 154 times, 1 visits today)

Posted By : Digvijay | Comment RSS | Category : Sixth Semester
Tag :

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

Wordpress DMCA
Community | Toolbar | Android App | Founder/Developer : Hari Prasad Chaudhary | CSIT Portal Manager : Digvijay Chaudhary