Se ha denunciado esta presentación.
Se está descargando tu SlideShare. ×

WHITE BOX TESTING ashu.pptx

Anuncio
Anuncio
Anuncio
Anuncio
Anuncio
Anuncio
Anuncio
Anuncio
Anuncio
Anuncio
Anuncio
Anuncio
Próximo SlideShare
GSM System Architecture.pptx
GSM System Architecture.pptx
Cargando en…3
×

Eche un vistazo a continuación

1 de 10 Anuncio

WHITE BOX TESTING ashu.pptx

Descargar para leer sin conexión

In this presentation you will know about the white box testing and black box testing and their types.
In this presentation these topics are covered :white box testing,
black box testing,
advantages of white box testing and disadvantages of white box testing,
advantages of black box testing and disadvantages of white box testing,
statement coverage technique,
branch coverage technique,
non functional testing, functional testing,
Regression testing, and differences between the white box testing and black box testing.

In this presentation you will know about the white box testing and black box testing and their types.
In this presentation these topics are covered :white box testing,
black box testing,
advantages of white box testing and disadvantages of white box testing,
advantages of black box testing and disadvantages of white box testing,
statement coverage technique,
branch coverage technique,
non functional testing, functional testing,
Regression testing, and differences between the white box testing and black box testing.

Anuncio
Anuncio

Más Contenido Relacionado

Más reciente (20)

Anuncio

WHITE BOX TESTING ashu.pptx

  1. 1. WHITE BOX TESTING AND BLACK BOX TESTING By: Ashutosh Kumar
  2. 2. WHITE BOX TESTING • White box testing is a method of software testing that tests internal structures of the application and also the working of the application. • It is also known as clear box testing, structural box testing, transparent box testing. • It can be applied at the unit, integration and system levels of the software testing process. • Some good white box testing tools to use: Veracode, Nunit, CppUnit, RCUNIT, etc.
  3. 3. WHITE BOX TESTING TECHNIQUES • Statement Coverage Techniques: This technique involves execution of all the statements of the source code at least one. It is used to calculate the total number of executed statements in the source code out of total statements present in the source code.
  4. 4. Branch Coverage Techniques: In this technique, test cases are designed so that each branch from all decision points are traversed at least once. In a flowchart, all edges must be traversed at least once.
  5. 5. Advantages of white box testing:  It results in the optimization of code removing error and helps in removing extra lines of code. This testing is more thorough than other testing approaches as it covers all code paths. Test cases of white box testing can be easily automated. It can be started in the SDLC phase even without GUI. Disadvantages of white box testing:  It is much expensive and complex.  White box testing needs professional programmers who have a detailed knowledge and understanding of programming language and implementation. Redesign of code and rewriting code needs test cases to be written again.
  6. 6. BLACK BOX TESTING Black box testing is a type of software testing in which the functionality of the software is not known. The testing is done without the internal knowledge of the products.
  7. 7. Black Box Testing Type: 1.Functional Testing: It determines the system’s software functional requirements. 2.Regression Testing: It ensures that the newly added code is compatible with the existing code. 3.Nonfunctional Testing: Nonfunctional testing is also known as NFT. This testing is not functional testing of software. It focuses on the software’s performance, usability, and scalability.
  8. 8. Advantages of Black Box Testing: The tester does not need to have more functional knowledge or programming skills to implement the Black Box Testing. Tests are executed from the user’s or client’s point of view. It is efficient for implementing the tests in the larger system. Disadvantages of Black Box Testing:  Sometimes, the reason for the test failure cannot be detected.  Some programs in the application are not tested. Working with a large sample space of inputs can be exhaustive and consumes a lot of time.
  9. 9. White Box Testing Black Box Testing What the software is supposed to do , also aware of how it does it. In this testing, it does not aware of how the software is supposed to do. You should have an understanding of the programming languages to perform this testing. No need to have an understanding of the programming code to perform this testing. The developer should know about the internal design of the code. There is no need to know about the internal design of the code. Test design techniques are: Control flow testing, Branch testing, Path testing, Statement coverage testing, Decision coverage testing, Data flow testing Test design techniques are: Decision table testing, All-pairs testing, Equivalence partitioning, Boundary value analysis, Cause-effect graph The developer can perform white box testing. The test engineers perform this testing.

×