Monday, 9 January 2017

Testing_103 : Black box testing and White box testing

Types of Testing

Structural or White Box Testing.
White-box testing (also known as clear box testing, glass box testing, transparent box testing, and structural testing) is a method of testing software that tests internal structures or workings of an application, as opposed to its functionality (i.e. black-box testing).

Functional or Black Box Testing.
Black-box testing is a method of software testing that examines the functionality of an application without peering into its internal structures or workings. This method of test can be applied virtually to every level of software testing: unit, integration, system and acceptance.



 1) White Box Testing :-

  • This testing is based on knowledge of internal logic of an application code.
  • Also known as Glass Box Testing.
  • Internal software and code working should be known for this type of testing. Test are based on coverage of code, statements, branches, path and conditions.
2) Black Box Testing :-
  • Internal system design is not considered in this type of testing.
  • Tests are based on requirements and functionality.
  • Other than Unit level testing, the remaining testing types belongs to black box testing.
Difference between White box testing and Black box testing :
  1. Black box testing applicable for high level testing like Acceptance testing and System testing where as white box testing applicable for low level testing like unit level testing.
  2. White box testing handled by software developer where as black box testing is handled by testing engineer.
  3. For white box testing should have knowledge of software language but for black box testing we don't need any software language.

1 comment: