Blackbox Testing:
As the name itself indicates, it is to test the software assuming that it is a 'black box' and you have no visibility to internal design and logic of the software.
Following are the characteristics of Black Box testing.
White box implies a transparent box wherein you can observe the contents of the box and what is happening inside the box.Hence white box testing is one wherein testing is carried out with the visibility of the code and knowledge of design,logic of the code and different paths of execution control.
Following are the characteristics of white box testing.
As the name itself indicates, it is to test the software assuming that it is a 'black box' and you have no visibility to internal design and logic of the software.
Following are the characteristics of Black Box testing.
- Provides an external perspective to test the software.
- It is carried out without the knowledge of the architecture,design and logic of the code the provides the functionality.
- Focuses on for certain input what should be the output.
- It can be carried out by a non-developer who is not having any knowledge about the internal logic of the code.
- Test cases are developed based on the requirement specifications.
- Both functional and non-functional requirements are covered as part of black box testing.
White box implies a transparent box wherein you can observe the contents of the box and what is happening inside the box.Hence white box testing is one wherein testing is carried out with the visibility of the code and knowledge of design,logic of the code and different paths of execution control.
Following are the characteristics of white box testing.
- Testing based on structure or design of the software.
- Program-logic driven testing.
- Focuses on covering different paths of program execution.
- High code coverage is achieved compared to black box testing.