White box testing and Black box testing

White Box Testing: 

White box testing is a testing technique, that examines the program structure and derives test data from the program code. The other names of glass box testing are clear box testing, open box testing, logic-driven testing or path driven testing or structural testing.
White Box Testing is the testing of a software solution's internal coding and infrastructure.
White box testing is also known as Clear Box testing, Open Box testing, Structural testing, Transparent Box testing, Code-Based testing, and Glass Box testing.

Advantages of white-box testing :

  • Code optimization by finding a hidden error
  • White box tests cases can be easily automated.


Disadvantages of white-box testing:  

  • White box testing can be quite complex and expensive. 
  • White box testing requires professional resources, with a detailed understanding of programming and implementation



Black box Testing:

Black-box testing is a method of software testing that examines the functionality of an application based on the specifications. It is also known as Specifications based testing. Independent Testing Team usually performs this type of testing during the software testing life cycle.
It is functional testing. The tester will get (.exe) file which is sent by the developer it is based line by the senior developer and we can’t change and edit in this tester will only do the execution. 

Advantages of black-box testing :
  • Unbiased tests because the designer and tester work independently.
  • The test is performed from a user’s point-of-view and not of the designer’s.
  • Efficient when used on large systems.
  • There is no need for the tester to have detailed functional knowledge of system
  • A tester can be non-technical.

Disadvantages of black-box testing:
  • Test cases are challenging to design without having clear functional specifications.
  • It is difficult to identify tricky inputs if the test cases are not developed based on specifications.
  • There is a high probability of repeating tests already performed by the programmer.

Comments

Popular posts from this blog

Implicit and Explicit requirements

Software Configuration Management (SCM)

Identified for Configuration Management